Search:

Type: Posts; User: Norm

Search: Search took 0.10 seconds.

  1. Replies
    11
    Views
    1,365

    [SOLVED] Re: getting the proper input from file

    That output was so we could see what was in the file. Its source was the String of ASCII characters.
  2. Replies
    11
    Views
    1,365

    [SOLVED] Re: getting the proper input from file

    Is your code working now?
  3. Replies
    11
    Views
    1,365

    [SOLVED] Re: getting the proper input from file

    What characters are in a line in your text file?

    Print out the bytes in the String you read from the file using the following technique:


    byte[] bytes = aStr.getBytes();
    ...
  4. Replies
    11
    Views
    1,365

    [SOLVED] Re: getting the proper input from file

    The \ character has special meaning in regular expressions. To use a \ you have to escape it.
    And that is tricky. Try this: "\\\t"

    EDIT: I just tried your code and it worked.


    ...
Results 1 to 4 of 4