By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,541 Members | 1,109 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,541 IT Pros & Developers. It's quick & easy.

Java StringTokenizer

P: n/a
It doesn't appear that Visual Studio 2003 has the StringTokenizer class for
a J# project. Am I missing something?

Steve
Jul 17 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a

"- Steve -" <se****@foundation.sdsu.edu> wrote in message
news:OseAb.10443$LV1.542@okepread05...

It doesn't appear that Visual Studio 2003 has the
StringTokenizer class for a J# project. Am I missing
something?


Maybe they renamed it to 'CStringTokenizer' ;) !

Cheers,

Anthony Borla

P.S.

I'm not sure that J# could be classed as Java - probably best stick to the
J2SDK since you *know* it works !
Jul 17 '05 #2

P: n/a
Use an array instead:

String[] strArray = "this is a test".split("\\s");

Now pour over the array to pick up the tokens.

Good luck,
-Mitch

"- Steve -" <se****@foundation.sdsu.edu> wrote in
news:OseAb.10443$LV1.542@okepread05:
It doesn't appear that Visual Studio 2003 has the StringTokenizer
class for a J# project. Am I missing something?

Steve


Jul 17 '05 #3

P: n/a
>
String[] strArray = "this is a test".split("\\s");

Now pour over the array to pick up the tokens.


That's MS trick to switch user from the way they act.

It plays the game for Lotus, WorkPerfect and now it plays the same
trick to Java Developer.

Wing
Jul 17 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.