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. Even so x.replaceAll("\s+", ""); is going to be much more efficient strategy for trimming spaces (if string may have numerous contiguous Areas) since of https://sergiojctiw.blogerus.com/53810497/little-known-facts-about-mantra-mushroom-chocolate