Help me split this string based on | character

Input string - 200000|70000|20000

I want separate outputs as 200000 ,70000, 20000 in different variables or maybe in an array

Arry[] = inputstring.split(cchar("|"))

@Gaurav07

You can use split function for this task.

In assign activity, on the right side add the code Split(inputVariable,"|") and left side store it in array of string variable.

Hi @Gaurav07

I have create workflow based on your requirement please unzip and run I hope you will get solution.

image

Split.zip (17.2 KB)

Regards,
Kommi Jeevan.

Hi @Gaurav07,

use inputstring var.Replace("|",",")

image

cool
Regards,
gulshiyaa

If you like my solution plz like

1 Like