public static StringExpression left(Expression<String> lhs, Expression<Integer> rhs) {
        return Expressions.stringOperation(Ops.StringOps.LEFT, lhs, rhs);
    }
Get the rhs leftmost characters of lhs

@param lhs string
@param rhs character amount
@return rhs leftmost characters
querydsl-sql/src/main/java/com/querydsl/sql/SQLExpressions.java