Cultural Anthropology, Ai/ML Tech, and Zen-Stoic blend Behavioral Philosophy
To split a String into words (tokens) where delimiter is white space...
String delims = "[ ]+";
String[] tokens = someLongString.split(delims);
Now you can look thru the tokens and do comparisons, etc.
No comments:
Post a Comment