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. However x.replaceAll("\s+", ""); are going to be additional productive way of trimming Areas (if string might have a number of contiguous Areas) mainly because https://mantra-bars-euphoria-bar32075.theideasblog.com/31788800/helping-the-others-realize-the-advantages-of-mantra-mushroom-chocolate