The 's' replaces one particular Room match at any given time though the 's+' replaces The full space sequence without delay with the next parameter. Even so x.replaceAll("\s+", ""); will likely be much more efficient strategy for trimming spaces (if string may have a number of contiguous spaces) mainly because https://mantra-mushroom-chocolate98394.blog5star.com/31762456/5-tips-about-mantra-mushroom-chocolate-you-can-use-today