The 's' replaces just one Room match at any given time but the 's+' replaces The full Area sequence without delay with the next parameter. Even so x.replaceAll("\s+", ""); is going to be much more efficient strategy for trimming spaces (if string may have numerous contiguous Areas) simply because of https://mantra-hero-bar21985.widblog.com/86359631/new-step-by-step-map-for-s