Parsing out string into multiple strings based on spaces

I'd like to break a large string into multiple strings for each word that is contained in the string. Each word is seperated by a a space so I figure that's the best way to identify them. What would be the best way to accomplish this? I was thinking maybe I could try to 'find' space and then substring based on integer. 
2 answers

It does not have to be a Java action. All can be done with microflows. Use indeed the find and substring actions. But may I ask why you want to do this? Because if it is for searching check the Lucine app in the appstore





Hi Jon,

The best way to accomplish this is to create a custom java action that takes in the string as a parameter and does the .split() java function on a space (you would have to look up what a space is in regex). And have the java action return the list of separated strings.