sorry I forgot to wrap the code
Then edit your post. You can edit it for up to 30 minutes later.
jasimp
Senior Poster
3,623 posts since Aug 2007
Reputation Points: 533
Solved Threads: 53
Scanner is only able to read string or the whole line that will return string again. So what you can do is to read scanner, get the string and use the string in one or other way charAt(int index)
toCharArray()
peter_budo
Code tags enforcer
15,436 posts since Dec 2004
Reputation Points: 2,806
Solved Threads: 902