Search:

Type: Posts; User: helloworld922

Search: Search took 0.29 seconds.

  1. Replies
    4
    Views
    2,981

    Re: Splitting File into Array

    Use a "dummy read", ie. read them in but don't do anything with that data.

    // skip two lines
    myReader.nextLine();
    myuReader.nextLine();
  2. Replies
    4
    Views
    2,981

    Re: Splitting File into Array

    You can get a character at a certain position in the string using the charAt() method:


    String str = "Hello";
    str.charAt(1); // 'e'
Results 1 to 2 of 2