Click here to Skip to main content
15,890,438 members
Please Sign up or sign in to vote.
1.00/5 (4 votes)
See more:
Can anyone explain what is stringTokenizer?
Posted
Updated 28-Nov-11 6:37am
v2
Comments
[no name] 27-Nov-11 23:46pm    
google?
TorstenH. 28-Nov-11 1:55am    
It's probably some variable - the class StringTokenizer starts with a big S.

Tokenizing is the process were you split up a string based on a character. You may want to split on the comma. You pass the string through the tokenizer giving ',' as the separator. Then as you read each item out of the tokenizer they are split up based on the separator. A common approach I have seen is reading a live stream. A tokenizer splits the stream on linefeed and then each line is split on commas or tabs using another tokenizer.
 
Share this answer
 
Comments
elgaabeb 28-Nov-11 11:52am    
5'd, the response to this question.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900