Unanswered question

How to automatically remove empty spaces, without human intervention ?

I need to capture information from a screen, save it to a file and then use it in another user path - but when I save the info I need empty spaces are being added - how to automatically remove empty spaces, without human intervention ?

Cesar M.
Cesar M.

Cesar M.

Level
0
1 / 100
point

Answers

S K.
S K.

S K.

Level
0
65 / 100
points

You can add javascript to remove empty spaces from a variable(data stored in a file).

var filedata= context.variableManager.getValue("DataSheet.variableName");

filedata = filedata.replace(" ", ""); // this will remove all blank spaces

context.variableManager.setValue("DataSheet.variableName", filedata);