public int indexs ( final Integer fromIndex , String ... indexWith ) { int index = INDEX_NONE_EXISTS ; final String target = ignoreCase ? delegate . get ( ) . toLowerCase ( ) : delegate . get ( ) ; for ( String input : indexWith ) { String target2 = ignoreCase ? input . toLowerCase ( ) : input ; if ( ( index = target . indexOf ( target2 , fromIndex ) ) >= 0 ) { return index ; } } return index ; }
Search delegate string to find the first index of any string in the given string list starting at the specified index