C
cyberco
I'm porting code from J2SE to J2ME and one issue I run into is
replacing "\n\r" with " ". This is done in J2SE by:
String.replaceAll("a","b");
Unfortunately J2ME only offers a method for replacing chars:
String.replace('a','b');
Only thing I can come up with is a cumbersome solution while I get the
feeling there must be a more elegant solution.
Any ideas?
Thanks
replacing "\n\r" with " ". This is done in J2SE by:
String.replaceAll("a","b");
Unfortunately J2ME only offers a method for replacing chars:
String.replace('a','b');
Only thing I can come up with is a cumbersome solution while I get the
feeling there must be a more elegant solution.
Any ideas?
Thanks