int function ( String [ ] arg0 , String arg1 ) { if ( ( arg0 == null ) || ( arg1 == null ) ) { return - 1 ; } for ( int loc0 = 0 ; loc0 < arg0 . length ; loc0 ++ ) { if ( arg0 [ loc0 ] . equals ( arg1 ) ) { return loc0 ; } } return - 1 ; }
find the given needle string in an array haystack of strings . returns the index of the needle in the haystack , or -1 if not found . concode_field_sep PlaceHolder placeHolder concode_field_sep String bitfieldToString concode_elem_sep boolean contains concode_elem_sep String makeXHTMLSafe concode_elem_sep String join concode_elem_sep String join