Computer Science, asked by bhuvisweety9108, 1 year ago

Difference between splitting of strings and stringtokenizer

Answers

Answered by SubratoManda1212
0

-> StringTokenizer is even more restrictive than String.split() , and also a bit fiddlier to use. It is essentially designed for pulling out tokens delimited by fixed substrings. ... In addition, it has the advantage over StringTokenizer that it gives you the output as a string array, which is usually what you want.

Similar questions