+ 1
How to remove white spaces from string in java using function
2 Antworten
+ 7
You can read about the replaceAll method.
+ 3
Atul lol.. there is no Character.Whitespace method in java.
It's Character.isWhiteSpace, which will check if the char value is a white space or not.