The 's' replaces just one Room match at a time although the 's+' replaces The complete Area sequence at once with the next parameter. Having said that x.replaceAll("\s+", ""); might be far more effective technique for trimming spaces (if string might have several contiguous Areas) due to the fact of https://mantra-bars-euphoria-bar31974.blogdomago.com/30514999/not-known-factual-statements-about-mantra-mushroom-chocolate-bars