D
dfhLASST
What is the best way to remove all non-alphabetic characters (e.g. symbols,
spaces etc.) from a String?
My original plan was to loop round the chars in the String and add them to
an array if the value of the chars are alphabetic (i.e. >=65 and <=122).
I've ran into problems with this and it seems more complex than the problem
should be.
Any suggestions?
spaces etc.) from a String?
My original plan was to loop round the chars in the String and add them to
an array if the value of the chars are alphabetic (i.e. >=65 and <=122).
I've ran into problems with this and it seems more complex than the problem
should be.
Any suggestions?