Search:

Type: Posts; User: gwb

Search: Search took 0.09 seconds.

  1. Replies
    9
    Views
    1,307

    Re: Best Method to Extract Part of a Text File?

    Thanks, I'll have to dig in further.
  2. Replies
    9
    Views
    1,307

    Re: Best Method to Extract Part of a Text File?

    The first line of the arraylist should be -180.0,-66.00, and the last line should be 180.0,-66.00, to agree with the information extracted from the input file.

    At this point I don't want to print...
  3. Replies
    9
    Views
    1,307

    Re: Best Method to Extract Part of a Text File?

    As requested, here is the code to extract a portion of a text file. It however, on the first and last lines of the extracted text, returns 0.0 instead of -180.0 and 180.0



    package test;
    ...
  4. Replies
    9
    Views
    1,307

    Re: Best Method to Extract Part of a Text File?

    OK, I have got this working for the most part, however instead of capturing the -180.0 and 180.0 portions of the first and last lines in the range to the arraylist, it prints zero values for these...
  5. Replies
    9
    Views
    1,307

    Best Method to Extract Part of a Text File?

    I have a text file where I need to search and extract a portion of it (sample file attached). This is a little more complicated than most examples I have seen e.g. using the scanner class. This file...
Results 1 to 5 of 5