The Definitive Guide to mantra euphoria gummie
The 's' replaces one Area match at a time however the 's+' replaces the whole space sequence at once with the 2nd parameter.Even so x.replaceAll("s+", ""); might be more efficient way of trimming Areas (if string may have a number of contiguous spaces) since of potentially much less no of replacements due the to undeniable fact that regex s+ matche