To convert StringTokenizer to string array

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Bilwin
    New Member
    • Feb 2007
    • 13

    #1

    To convert StringTokenizer to string array

    Hi friends,

    How can i convert StringTokenizer to string array?

    friends please reply me..
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    Originally posted by Bilwin
    Hi friends,

    How can i convert StringTokenizer to string array?

    friends please reply me..
    Use the tokenizer.next method to get each token and set it into the array.

    You will need to know how many tokens you have before creating the array.

    Comment

    • Bilwin
      New Member
      • Feb 2007
      • 13

      #3
      Originally posted by r035198x
      Use the tokenizer.next method to get each token and set it into the array.

      You will need to know how many tokens you have before creating the array.
      thanks a lot!!!

      Comment

      Working...