StringTokenizer insert into Array??

From: Newbie (newbie_at_hotmail.com)
Date: 12/06/03


Date: Sat, 6 Dec 2003 11:56:35 -0600

I'm reading the text from a plain text file with the StringTokenizer with a
double loop
(outer to read each line, inner to read each word on each line).

Confused a little how the StringTokenizer really works.

Could some kind soul assist me here as what I really want to do is to
"insert"
each word into a new array.

Each word being an element of the new array that I can manipulate later.

A small example of code on how to achieve this would be extremely grateful!

Thankyou for your continued support to a newbie.



Relevant Pages

  • Re: Stringtokenizer and file reading
    ... > I have a that stores cd's in an array with title, artist, runtime etc. ... I know I have to use stringtokenizer but I just ... > Bill myers the album ... with some sort of delimiter between attributes. ...
    (comp.lang.java.programmer)
  • Re: StringTokenizer insert into Array??
    ... > Confused a little how the StringTokenizer really works. ... > Each word being an element of the new array that I can manipulate later. ... > Thankyou for your continued support to a newbie. ... you'll need to wrap that in another loop to do it for every ...
    (comp.lang.java.programmer)
  • Re: StringTokenizer insert into Array??
    ... > Confused a little how the StringTokenizer really works. ... > Each word being an element of the new array that I can manipulate later. ... > Thankyou for your continued support to a newbie. ... out of a text stream or file. ...
    (comp.lang.java.programmer)
  • Re: randomizing two dimensional array
    ... I would like to know how can I randomize the ... Which array, the inner or outer? ...
    (perl.beginners)