The 's' replaces one particular Room match at any given time but the 's+' replaces The complete Room sequence at the same time with the 2nd parameter. On the other hand x.replaceAll("\s+", ""); is going to be a lot more effective technique for trimming spaces (if string might have a https://mantra-bars-euphoria-bar98652.timeblog.net/67218829/fascination-about-mantra-euphoria-gummie