The 's' replaces a single space match at any given time nevertheless the 's+' replaces the whole Room sequence at the same time with the next parameter. However x.replaceAll("\s+", ""); are going to be additional productive method of trimming Areas (if string might have a number of contiguous spaces) mainly https://mantra-euphoria-gummies75318.blogolize.com/mantra-euphoria-gummie-fundamentals-explained-70612326