The 's' replaces just one Room match at any given time although the 's+' replaces The entire space sequence directly with the second parameter. Even so x.replaceAll("\s+", ""); will likely be much more efficient strategy for trimming spaces (if string might have a number of contiguous Areas) due to the https://mantramushroomchocolate87420.blogacep.com/36535712/not-known-factual-statements-about-mantra-mushroom-chocolate