src/com/mlhsoftware/commandline/model/CmdTokener.java
public char skipTo( char to )
  {
    char c;
    int index = this.myIndex;
    do
    {
      c = next();
      if ( c == 0 )
      {
        this.myIndex = index;
        return c;
      }
    } while ( c != to );
    back();
    return c;
  }
/**
     * Skip characters until the next character is the requested character.
     * If the requested character is not found, no characters are skipped.
     * @param to A character to skip to.
     * @return The requested character, or zero if the requested character
     * is not found.
 */
Skip characters until the next character is the requested character.
If the requested character is not found, no characters are skipped.
Skip characters until the next character is the requested character . If the requested character is not found no characters are skipped .
public char skipTo( char to )
  {
    char c;
    int index = this.myIndex;
    do
    {
      c = next();
      if ( c == 0 )
      {
        this.myIndex = index;
        return c;
      }
    } while ( c != to );
    back();
    return c;
  }
public char skipTo ( char to ) { char c ; int index = this . myIndex ; do { c = next ( ) ; if ( c == 0 ) { this . myIndex = index ; return c ; } } while ( c != to ) ; back ( ) ; return c ; }
Skip characters until the next character is the requested character.
Skip characters until the next character is the requested character .