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. Nevertheless x.replaceAll("\s+", ""); will probably be more economical strategy for trimming spaces (if string may have numerous contiguous Areas) since of probably a lot https://mantrabarseuphoriabar53197.answerblogs.com/31519911/the-mantra-euphoria-gummie-diaries