Barry;
Take a look at the String class, in particular the String.charAt(), String.substring(), String.concat() (the + operator) methods.
If String intput = "1234" then
input.charAt( 1 ) == "2" ;
int num = input.charAt( 1 ) ; returns 50
int num = Integer.parseInt( input.charAt( 1 ) );
returns
String num input.charAt( 1 ) ; returns "inconvertalbe types"
I want the integer 2.
Cant't turn this calf out 'til it is branded and ear marked!
TIA
doco