finds the first index in the charsequence that matches thespecified character . concode_field_sep PlaceHolder placeHolder concode_field_sep int lastIndexOf concode_elem_sep int lastIndexOf concode_elem_sep char[] toCharArray concode_elem_sep boolean regionMatches concode_elem_sep CharSequence subSequence
int function ( CharSequence arg0 , int arg1 , int arg2 ) { if ( arg0 instanceof String ) { return ( ( String ) arg0 ) . indexOf ( arg1 , arg2 ) ; } else { int loc0 = arg0 . length ( ) ; if ( arg2 < 0 ) { arg2 = 0 ; } for ( int loc1 = arg2 ; loc1 < loc0 ; loc1 ++ ) { if ( arg0 . charAt ( loc1 ) == arg1 ) { return loc1 ; } } return - 1 ; } }