src/com/mlhsoftware/commandline/model/CmdTokener.java
public String next( int n ) throws TokenException
  {
    int i = this.myIndex;
    int j = i + n;
    if ( j >= this.mySource.length() )
    {
      throw syntaxError( "Substring bounds error" );
    }
    this.myIndex += n;
    return this.mySource.substring( i, j );
  }
/**
   * Get the next n characters.
   *
   * @param n     The number of characters to take.
   * @return      A string of n characters.
   * @throws FSONException
   *   Substring bounds error if there are not
   *   n characters remaining in the source string.
   */
Get the next n characters.
@param n     The number of characters to take.
@return      A string of n characters.
@throws FSONException
Substring bounds error if there are not
n characters remaining in the source string.
Get the next n characters . @param n The number of characters to take . @return A string of n characters . @throws FSONException Substring bounds error if there are not n characters remaining in the source string .
public String next( int n ) throws TokenException
  {
    int i = this.myIndex;
    int j = i + n;
    if ( j >= this.mySource.length() )
    {
      throw syntaxError( "Substring bounds error" );
    }
    this.myIndex += n;
    return this.mySource.substring( i, j );
  }
public String next ( int n ) throws TokenException { int i = this . myIndex ; int j = i + n ; if ( j >= this . mySource . length ( ) ) { throw syntaxError ( "Substring bounds error" ) ; } this . myIndex += n ; return this . mySource . substring ( i , j ) ; }
Get the next n characters.
Get the next n characters .