[ad_1]
This:
input.replaceAll(" ", "").toCharArray()
Probably better to use length() to count the chars though…
7
[ad_2]
solved How to convert String to char array without spaces in Java?
[ad_1]
This:
input.replaceAll(" ", "").toCharArray()
Probably better to use length() to count the chars though…
7
[ad_2]
solved How to convert String to char array without spaces in Java?