s - An Overview
It suggests zero or maybe more occurrence of whitespace characters, accompanied by a comma and afterwards accompanied by zero or even more event of whitespace figures.Nonetheless x.replaceAll("s+", ""); will probably be much more economical technique for trimming Areas (if string may have many contiguous spaces) for the reason that of doubtless few