You are viewing a single comment's thread. Return to all comments →
String regExp = "[ .,!?@_']+"; String[] arr=s.split(regExp); wil give length =0 even in case of white spaces
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 →
String regExp = "[ .,!?@_']+"; String[] arr=s.split(regExp); wil give length =0 even in case of white spaces