Search:

Type: Posts; User: j2me64

Search: Search took 0.02 seconds.

  1. Declare the String s and then use while...

    Declare the String s and then use

    while ((s=scanLines.hasNext())) {
    if (!s.contains("\\"))

    for saying: if the string s does not contain "\\" then continue.
  2. hi, with a simple if-statement you could exclude...

    hi, with a simple if-statement you could exclude the unwanted lines in the while-loop. or use the class arraylist to store your lines and then use the method remove() the unwanted elements.
Results 1 to 2 of 2