The 's' replaces 1 space match at any given time nevertheless the 's+' replaces the whole Place sequence simultaneously with the 2nd parameter. Having said that x.replaceAll("\s+", ""); are going to be additional productive way of trimming Areas (if string can have numerous contiguous Areas) since of probably a lot https://mantranootropicbar54197.59bloggers.com/31761789/mantra-mushroom-chocolate-an-overview