mantra mushroom chocolate bars No Further a Mystery
The 's' replaces one particular Place match at a time even so the 's+' replaces The full Room sequence simultaneously with the second parameter.Even so x.replaceAll("s+", ""); are going to be more efficient way of trimming Areas (if string may have many contiguous spaces) since of potentially significantly less no of replacements because of the to