The 's' replaces 1 space match at any given time though the 's+' replaces The full Area sequence without delay with the next parameter. Even so x.replaceAll("\s+", ""); will likely be much more economical strategy for trimming Areas (if string may have multiple contiguous spaces) because of doubtless a lot https://mantrachocolatebars32075.blogzag.com/75465949/the-2-minute-rule-for-mantra-mushroom-chocolate