/** * Get the index of the given substring in this String * * @param str * @return this.indexOf(str) * @see java.lang.String#indexOf(String) */ public NumberExpression<Integer> indexOf(String str) { return indexOf(ConstantImpl.create(str)); }
/** * Get the index of the given substring in this String, starting from the given index * * @param str * @param i * @return this.indexOf(str, i) * @see java.lang.String#indexOf(String, int) */ public NumberExpression<Integer> indexOf(String str, int i) { return indexOf(ConstantImpl.create(str), i); }