Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

I always wonder about StringTokenizer ?

 
Guna Ranjan
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hai i always this question in my mind
is there is anyway to break string without
using string tokenizer! any ranch here to answer my question??
 
Rene Larsen
Ranch Hand
Posts: 1179
Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use the split(...) method in the String class
 
marc weber
Sheriff
Posts: 11343
Java Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Gunaranjan," please check your private messages by clicking on My Private Messages. Thanks!

(You can also create substrings from the original String.)
 
Guna Ranjan
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
marc please do vist your private message inbox
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic