Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Parsing problem

 
Ashu Patel
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi friends help me out please
i am getting a string as an out put which looks like this
" cindy,martha,terreca"
i am getting this as a whole string..
what i want to do is parse this and get individual name
Any logic,any snipplet will be a great help
Sincerly
Ashish
 
Jeffrey Hunter
Ranch Hand
Posts: 305
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Lookup StringTokenizer in the Java APIs at java.sun.com.
[ May 03, 2004: Message edited by: Jeffrey Hunter ]
 
C. Nimo
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Look up StringTokenizer class.
 
Cindy White
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot for guiding me on the right path..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic