I want to print a row of data side by side, how can I do this?
Received data:
‘5252-103
4542776
8120028’.
I want to print a row of data side by side, how can I do this?
Received data:
‘5252-103
4542776
8120028’.
You can solve the problem by using the /n character in the script component. The code is given below.
var str = execution.getVariable("str");
var newStr = str.replace(/\n/g, " ");
execution.setVariable("newStr",newStr);
Result : 5252-103 4542776 8120028