Cicode Programming Reference > Cicode Function Categories > String Functions > StrListContainsItem

StrListContainsItem

Checks whether the string passed is an item contained in a delimited list of strings. String comparison is case insensitive. Leading and trailing spaces are removed before comparing.

Syntax

StrListContainsItem(STRING sItem, STRING sList, STRING sDelim)

sItem

Item that you wish to search for.

sList

List to search within.

sDelim

The string to use as a delimiter. If this is not specified, a comma (,) is used.

Return Value

Returns TRUE if the item is found in the list, otherwise returns FALSE

Related Functions

Published June 2018