Split a string in Workflow variable

Hi,

Need help on how to splitting string in workflow using variable operator,

Thanks
Prashanth

You would have to use two Define variable actions. In the first action, get the value to which you want to execute split, and add the Get Index operator to it. Provide the character in the Get Index, through which you need to split and save the variable.

In the second Define variable action (link the previous step to this), get the value again like the previous step, and add Substring operator as starts from 0 and length by choosing variable to previous define variable attribute name

What Sameer has mentioned would be the possible solution because even I am working on that item and I had to create two variables and use Get Index operator.

1 Like

test20241212.json (2.3 KB)

Hope this helps, the input is a static variable but easily changed to your attribute of choice.

Any example output would help here, Sameer’s solution will work but we need something common for all the input values to get the index.

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.