The 's' replaces just one Room match at any given time though the 's+' replaces The full Room sequence simultaneously with the 2nd parameter. Even so x.replaceAll("\s+", ""); is going to be much more efficient strategy for trimming spaces (if string may have numerous contiguous spaces) because of doubtless much https://mantra-mushroom-chocolate98642.life3dblog.com/30550558/about-mantra-euphoria-gummie