The 's' replaces one particular Room match at any given time although the 's+' replaces The entire House sequence directly with the second parameter. Even so x.replaceAll("\s+", ""); is going to be a lot more efficient technique for trimming spaces (if string might have several contiguous Areas) due to the https://trevorxpevj.get-blogging.com/31861082/not-known-facts-about-mantra-mushroom-chocolate