The 's' replaces one House match at a time however the 's+' replaces The complete Room sequence at once with the next parameter. On the other hand x.replaceAll("\s+", ""); is going to be a lot more efficient strategy for trimming spaces (if string may have numerous contiguous Areas) since of https://reidxmcqf.p2blogs.com/30596072/the-basic-principles-of-s