How do I split a string?
Category: java.lang, viewed: 33751 time(s).
Prior to Java 1.4 we use StringTokenizer to split a tokenized string, for example a comma separated string. In Java 1.4 or later the String class introduce a String.split(String regex) method that simplify this process.
Below is a code sample how to do it.
