src/com/mlhsoftware/commandline/model/CmdTokener.java
public void skipPast( String to )
  {
    this.myIndex = this.mySource.indexOf( to, this.myIndex );
    if ( this.myIndex < 0 )
    {
      this.myIndex = this.mySource.length();
    }
    else
    {
      this.myIndex += to.length();
    }
  }
/**
     * Skip characters until past the requested string.
     * If it is not found, we are left at the end of the source.
     * @param to A string to skip past.
     */
Skip characters until past the requested string.
If it is not found, we are left at the end of the source.
@param to A string to skip past.
Skip characters until past the requested string . If it is not found we are left at the end of the source . @param to A string to skip past .
public void skipPast( String to )
  {
    this.myIndex = this.mySource.indexOf( to, this.myIndex );
    if ( this.myIndex < 0 )
    {
      this.myIndex = this.mySource.length();
    }
    else
    {
      this.myIndex += to.length();
    }
  }
public void skipPast ( String to ) { this . myIndex = this . mySource . indexOf ( to , this . myIndex ) ; if ( this . myIndex < 0 ) { this . myIndex = this . mySource . length ( ) ; } else { this . myIndex += to . length ( ) ; } }
Skip characters until past the requested string.
Skip characters until past the requested string .