Java String check - easy question probably
Posted on 2003-03-10
not sure if there is a command, maybe there is and i havent found it but.
i have an input: MapLinIn.
i want to make sure that its length is equal to 3. i have done that with line below:
i now want to make sure that all 3 of the chars in the string are integers
so only say 123 was accepted or 012 etc etc
is it posible to make sure all the chars in the input are integers and if so how :)
many many thanks