The 's' replaces one Place match at a time but the 's+' replaces The full Area sequence without delay with the next parameter. However x.replaceAll("\s+", ""); will be additional productive way of trimming Areas (if string can have many contiguous spaces) mainly because of potentially fewer no of replacements because https://arthurixnbp.bloggip.com/31399078/the-best-side-of-mantra-mushroom-chocolate-bars