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. Nonetheless x.replaceAll("\s+", ""); will probably be more successful means of trimming Areas (if string can have various contiguous spaces) because of doubtless much https://raymonduncwl.techionblog.com/31375625/how-much-you-need-to-expect-you-ll-pay-for-a-good-mantra-mushroom-chocolate-bars