The 's' replaces 1 House match at a time however the 's+' replaces The complete Room sequence at once with the next parameter. Even so x.replaceAll("\s+", ""); is going to be a lot more efficient strategy for trimming spaces (if string may have numerous contiguous Areas) simply because of probably https://mantramushroomgummies00763.canariblogs.com/considerations-to-know-about-s-46500090