The 's' replaces a single space match at any given time nevertheless the 's+' replaces the whole Place sequence simultaneously with the 2nd parameter. On the other hand x.replaceAll("\s+", ""); might be a lot more effective technique for trimming spaces (if string might have several contiguous Areas) since of probably https://mantranootropicbar65308.ambien-blog.com/37643401/the-best-side-of-s