How Can I split string?

0
Hi all   I don’t know how to use “community commons library String Split” How do I set the delimiter and please explain set function..   please...help
asked
2 answers
4

You add the string to be split and the delimiter.

You can add these as strings directly like:

'string;to;split'

the delimiter input 

';'

Or set the inputs by using variables that you create before running the split activity.

The result will be a list of splititems from the corresponding entity.

answered
-1

If the string is something like ‘ABCD’ then use '’ (2 single quotes) as delimiter to get list of Splititem with A B C and D.

The Java actions return an error if the string to split is empty, so check that or use proper error handling.

answered