Search:

Type: Posts; User: Norm

Search: Search took 0.11 seconds.

  1. Replies
    7
    Views
    1,765

    Re: Reading a text file + Nested Loop

    Put the String into a Scanner class constructor and use the Scanner class's methods to test for and read the tokens.
  2. Replies
    7
    Views
    1,765

    Re: Reading a text file + Nested Loop

    Another suggestion: read the String into a variable and then test its contents. The posted code doesn't save what was read so if you want to use it for something, it is gone.
Results 1 to 2 of 2