How do you remove the , and spaces between strings in java?
str.replaceAll("\s+", "");
s A whitespace character: [ x0Bf ]
java.util.regex.Pattern has all the predefined classes.
java.util.regex.Pattern
1.4m articles
1.4m replys
5 comments
57.0k users