title: Java split function not woring in j2me
body: <p>I am trying to take string in a textbox and then split the text from the text box and display it on another form but i am not able to achieve it as everytime i put split function it shows me an error
  Here's the code</p>
  
  <pre><code>if (c == next) {
    String str = tb.getString();
    String[] st = str.split(":|;")
    System.out.println(st);
  
    f1.append(str);
  
    display.setCurrent(f1);
  }
  </code></pre>