<p>How do I split strings in J2ME in an effective way?</p>

<p>There is a <a href="http://download.oracle.com/javase/1.4.2/docs/api/java/util/StringTokenizer.html" rel="noreferrer"><code>StringTokenizer</code></a> or <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html#split%28java.lang.String%29" rel="noreferrer"><code>String.split(String regex)</code></a> in the standard edition (J2SE), but they are absent in the micro edition (J2ME, MIDP).</p>

There is no built in method to split strings. You have to write it on your own using
```
String.indexOf()
```
and
```
String.substring()
```
.  Not hard.