+ 1
Who can help me return name without digits? Java
I want create method which will return name without digits, but no idea how realize few moments. Java
2 Réponses
+ 6
Maybe using regex?
getString(String x)
return x.replaceAll("[0-9]", "") ;
0
Thanks for the answer, i later will try use the method.