How Can I split string?

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..
2 answers

You add the string to be split and the delimiter.

You can add these as strings directly like:


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.


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.