How to Split a String

I am trying to split a string on string ‘not’ . String is “This is not a game” is in variable PDFVariable. So I use a variable Var of type String and assign as PDFVariable.ToString().Split(‘not’) and trying to see the output in Var(1). But I am getting error in the Assign box.

Hi Levanthai,

Use “Split string” activity to split your string. Try this and let me know if any issues. Split string.xaml (5.0 KB)

Senthil V

Hi @levanthai,

Adding to above you can also do this

Main.xaml (7.0 KB)


Hello, maybe you should try using double quotes instead of simple ? ie (‘not’) → (“not”)