String split (java action)

0
Does anyone know how to split a string (I want to get male from a given string)? I tried with StringSplit Java action but I've not found a solution.  
asked
2 answers
3

Hi Petar,

you can use substring function.

eg: substring('javithmale',5,4) it returns male.

 

answered
1

Hi Patric , 

Download community module from the marketplace , there you can find the string splint java action under StringUtils which will help to achieve your case

answered