0

Can anyone give me a basic script that takes a string and converts it into a characters using the nexttoken command to get the next char for searching purposes.

2
Contributors
5
Replies
6
Views
12 Years
Discussion Span
Last Post by MrScruff
0

I used the buffered reader to get the line. Then a string tokenizer to get it into seperate words. I have no idea on getting the words broken into chars

0

Alright I got it into an array... Now I can't get through the array. I'm using a for loop to search character by character. At the end of the first character array i get an exception error and cant get past that part. Any other ideas for a way to get through the character array.

0

Thats the best way to get through an array - is the exception error a arrayoutofbounds one? Check your i<whatever bit in the forloop - it may trying to check out more spaces in the array than there actually are.

:)

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.