java - How do I split strings in J2ME? -


how split strings in j2me in effective way?

there stringtokenizer or string.split(string regex) in standard edition (j2se), absent in micro edition (j2me, midp).

there few implementations of stringtokenizer class j2me. 1 ostermiller include functionality need

see this page on mobile programming pit stop modifications , following example:

string firsttoken; stringtokenizer tok;  tok = new stringtokenizer("some|random|data","|"); firsttoken= tok.nexttoken(); 

Comments

Popular posts from this blog

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

c++ - How do I get a multi line tooltip in MFC -

unit testing - How to mock PreferenceManager in Android? -