String replace
I'm trying to go through a string and do two things:
Replace all "," with line breaks.
Replace all " with nothing, i.e. delete them
How would I do this?
I'm trying to go through a string and do two things:
Replace all "," with line breaks.
Replace all " with nothing, i.e. delete them
How would I do this?
String.replaceAll();
http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html#replaceAll(java.lang.String,%20java.lang.String)