Loading...
Select Version
The function SEARCH-LIST-INDEX( ) searches a list variable for a string or for a regular expression which has been formed in accordance with POSIX rules. The return value indicates the number of the first list element containing this expression or search string.
Result type: INTEGER
SEARCH-LIST-INDEX( ) |
LIST-VARIABLE-NAME = string_expression1 ,PATTERN = string_expression2 ,BEGIN-INDEX = 1 / arithm_expression ,END-INDEX = *LAST / arithm_expression ,BEGIN-COLUMN = 1 / arithm_expression ,END-COLUMN = *LAST / arithm_expression ,PATTERN-TYPE = *STRING / *REGULAR-EXPRESSION ,DIRECTION = *FORWARD / *REVERSE |