![]() |
tokenize method
This method takes two strings as input s1, a generic string, and s2 containing delimiters. s1 is verified against s2 and depending on the type of character it is stored in a two dimensional array. The problem that I have is I am not sure if the characters are stored correctly in the array, and how to arrange the delimiter characters in increasing order.
Code:
|
Re: tokenize method
"I am not sure if the characters are stored correctly in the array"
What a strange way of putting it. Are they stored correctly or aren't they? If you display the array on screen does it appear as you expect? Again this is a class on its own with no main function. Are you posting homework assignments in the hope that we'll do them for you? |
| All times are GMT +5.5. The time now is 12:48. |