The 's' replaces just one Place match at a time though the 's+' replaces The full space sequence without delay with the second parameter. On the other hand x.replaceAll("\s+", ""); might be far more effective way of trimming spaces (if string might have a number of contiguous Areas) since of https://stephenuocto.blogripley.com/31985185/about-mantra-mushroom-chocolate