Wednesday, June 19, 2019

How do you remove all white spaces from a give. String

Use StringTokenizer with default constructor and retrieve and concatenate all the tokens into a single string.

On quora

1 comment: