public static int listFind ( String list , String value , String delimiter ) { Array arr = listToArrayTrim ( list , delimiter ) ; int len = arr . size ( ) ; for ( int i = 1 ; i <= len ; i ++ ) { if ( arr . get ( i , "" ) . equals ( value ) ) return i - 1 ; } return - 1 ; }
finds a value inside a list do not case sensitive