Searches a list of strings for one or more items supplied in argument 1 for the item(s) supplied in argument 2. Function returns a real array of length equal to the length of argument 2. The return value is an array of reals.
Number | Type | Compulsory | Default | Description |
1 | string array | Yes | List to search | |
2 | string | Yes | Items to search in list | |
3 | string | No | Options |
List to search.
Items to search in list.
Legacy option. Set to 'path' if the items being searched are file system paths. This is to enable case-sensitive searching on systems that use case-sensitive file names.
Return type: real array
Array of indexes into argument 1 for the items found in argument 2. If a string in argument 2 is not found, the return value for that element will be -1.
▲Function Summary▲ | ||
◄ ScriptName | SearchModels ▶ |