Helping The others Realize The Advantages Of mantra mushroom chocolate
The 's' replaces just one Place match at any given time although the 's+' replaces The full Place sequence directly with the next parameter.Having said that x.replaceAll("s+", ""); will probably be a lot more productive means of trimming spaces (if string can have multiple contiguous Areas) mainly because of probably a lot less no of replacements o