Blogger

Delete comment from: Javarevisited

Jirka Pinkas said...

Agree with Anonymous. Hardest part about String.split is regular expression.

Also if you don't know much about regular expressions, you can use StringUtils class from project Apache Commons Lang. There's a split method, where delimiter is not regular expression, but ordinary String. This class also has more split methods everybody should know about like splitByCharacterType().

Oct 1, 2011, 3:20:03 AM


Posted to How to String Split Example in Java - Tutorial

Google apps
Main menu