Results 1 to 2 of 2
  1. #1
    rajchief is offline Member
    Join Date
    Aug 2008
    Rep Power

    Default Store String Tokenizer o/p onto an array


    I have used string tokenizer to separate a comma delimited I want to store the output of the String tokenizer onto an array.

    Can you please suggest how i should go about it.

    Your feedback would be appreciated.


  2. #2
    fishtoprecords's Avatar
    fishtoprecords is offline Senior Member
    Join Date
    Jun 2008
    Rep Power


    use the split function, passing in a "," and it will do what you want.
    Read the javadocs for the String class

Similar Threads

  1. Can I store multiple objects in an array
    By lareauk in forum New To Java
    Replies: 9
    Last Post: 05-29-2008, 03:57 AM
  2. question on string tokenizer
    By munigantipraveen in forum New To Java
    Replies: 2
    Last Post: 05-23-2008, 05:00 AM
  3. Replies: 3
    Last Post: 04-07-2008, 06:02 PM
  4. questions about using array to store profile
    By hien_NU in forum New To Java
    Replies: 6
    Last Post: 01-08-2008, 06:03 AM
  5. I would then store a string...
    By susan in forum AWT / Swing
    Replies: 1
    Last Post: 08-07-2007, 04:15 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts