The 's' replaces a single Area match at any given time although the 's+' replaces The entire space sequence directly with the second parameter. However x.replaceAll("\s+", ""); are going to be additional productive method of trimming Areas (if string can have many contiguous spaces) for the reason that of doubtless https://mantra-chocolate-bars20753.livebloggs.com/37613238/mantra-mushroom-chocolate-an-overview