The 's' replaces 1 space match at any given time nevertheless the 's+' replaces the whole Room sequence at the same time with the 2nd parameter. Nevertheless x.replaceAll("\s+", ""); will be extra successful method of trimming Areas (if string can have various contiguous spaces) for the reason that of doubtless https://mr-mushies-gummies65318.blogkoo.com/the-5-second-trick-for-mantra-mushroom-chocolate-bars-50941395