You are viewing a single comment's thread. Return to all comments →
Thanks! This advice worked for me.
Also, here is some example code that might help people with the split() method.
String str = "This is an example string, right? Yes!"; String delims = "[ .,?!]+"; String[] tokens = str.split(delims);
Seems like cookies are disabled on this browser, please enable them to open this website
Java String Tokens
You are viewing a single comment's thread. Return to all comments →
Thanks! This advice worked for me.
Also, here is some example code that might help people with the split() method.