I used string tokenizer with “,” as delimiter, but when i used " " as delimiter it’s not working. Can any one help???
@sreeram177, it would be a lot better if you could post an example of how you used the string tokenizer…
I think space is a default delimiter. No need to specify it.
StringTokenizer st=new StringTokenizer(String); would suffice i guess.
Please do not post the same question twice. If you have to add more to the question you have already posted, use the answers/comments section in that question itself.
The other question can be found here: http://discuss.codechef.com/questions/19528/usage-of-string-tokenizer