The 's' replaces a single space match at any given time nevertheless the 's+' replaces the whole Place sequence at the same time with the 2nd parameter. Even so x.replaceAll("\s+", ""); will likely be much more economical strategy for trimming spaces (if string may have a number of contiguous Areas) https://connerlhyoc.blog2news.com/31944884/facts-about-mantra-euphoria-gummie-revealed