Tag Archives: String

How do I split a string with any whitespace chars as delimiters?

in short use : myString.split("\\s+");

details in Stack Overflow

Advertisements

Leave a comment

Filed under Java