I want to input this:
m2
I have to variables. One is
String "word" and the other one is int "col".
Im spliting the input text. I want to assign the second letter to col. Here is my code:
The program outputs "50"
. How can this happen?. What's wrong in here?. How can "col" be 50 if when I split the text I have this:
a
2
IN THIS CASE THE INPUT WAS "a2".
[ May 14, 2005: Message edited by: Manuel Diaz ]