Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Function: listContains()

Returns the position of a value in a list (with 1 being the first item) if the value being looked for is found in the list, and false (0) otherwise.

Syntax

listContains(listToTest, valueToLookFor)

Argument Type Description
listToTest Array List of items in which the value will be looked for
valueToLookfor Any The value being looked for in the list

Examples

listContains(in.valueList,"red")

listContains() returns 3 if in.valueList = ["pink", "blue", "red", "yellow"] or 0 if in.valueList = ["pink", "blue", "black", "yellow"].

See Also

  • No labels