src/main/java/org/mvel2/util/ParseTools.java
public static int trimLeft(char[] expr, int start, int pos) {
    if (pos > expr.length) pos = expr.length;
    while (pos != 0 && pos >= start && isWhitespace(expr[pos - 1])) pos--;
    return pos;
  }
/**
   * From the specified cursor position, trim out any whitespace between the current position and the end of the
   * last non-whitespace character.
   *
   * @param expr  -
   * @param start -
   * @param pos   - current position
   * @return new position.
   */
From the specified cursor position, trim out any whitespace between the current position and the end of the
last non-whitespace character.

@param expr
@param start
@param pos   - current position
@return new position.
From the specified cursor position trim out any whitespace between the current position and the end of the last non - whitespace character . @param expr @param start @param pos - current position @return new position .
public static int trimLeft(char[] expr, int start, int pos) {
    if (pos > expr.length) pos = expr.length;
    while (pos != 0 && pos >= start && isWhitespace(expr[pos - 1])) pos--;
    return pos;
  }
public static int trimLeft ( char [ ] expr , int start , int pos ) { if ( pos > expr . length ) pos = expr . length ; while ( pos != 0 && pos >= start && isWhitespace ( expr [ pos - 1 ] ) ) pos -- ; return pos ; }
From the specified cursor position, trim out any whitespace between the current position and the end of the
 last non-whitespace character.
From the specified cursor position trim out any whitespace between the current position and the end of the last non - whitespace character .