Function Contains

Checks whether a value is found within another value

Contains([CHECK_VALUE],[FIND_VALUE],[IGNORE_CASE])

Parameters

# Type Passing Default Name Description/Comments
1 any required n/a CHECK_VALUE The value to check
2 any required n/a FIND_VALUE The value to search for
3 boolean optional true IGNORE_CASE Whether to ignore case during string comparisons

Returns

The result of the check


Examples

Example for checking whether a property description contains a certain string

{{IF(Contains(PROPERTY.PROPDESC,"Road"))}}
Property contains road in the description
{{ENDIF}}