Determines the index of the first list element that contains a specified substring. Returns the index of the first list element that contains substring. If not found, returns zero. The search for the substring is case-sensitive.
listContains(list, substring [, delimiters])
returns numeric
Name | Type | Required | Default | Description |
---|---|---|---|---|
list | string | Yes | ||
substring | string | Yes | ||
delimiters | string | No | , |
Return the first instance of an item containing ‘oo’
listContains("sheep,goat,foo,bar,goo", "oo")