If you'd like to implement it in that action it should be something like:
tokenat(replace(AJAX.LastData, " ", ""),i,";")
But to make sure it works, you might just want to try setting two text objects;
one to : replace(AJAX.LastData, " ", "")
and one to : AJAX.LastData
to check if the idea actually has the effect I believe it should..