The 's' replaces one particular Area match at a time nevertheless the 's+' replaces the whole Place sequence simultaneously with the 2nd parameter. Nevertheless x.replaceAll("\s+", ""); will be extra successful means of trimming Areas (if string can have multiple contiguous spaces) since of probably considerably less no of replacements due https://mantrachocolatebars44008.newbigblog.com/37424614/the-2-minute-rule-for-mantra-mushroom-chocolate