contains
Summary
Checks if a string contains a specific element.Usage
input|contains( sequence )
Parameters
Name | Type | Description | Required |
---|---|---|---|
sequence | string | The string that should be matched. | Yes. |
Returns
TRUE if there is a match, FALSE otherwise.Description
This operator checks if the input string contains a specific sequence of characters. If a match is found, the operator will return TRUE, otherwise FALSE will be returned.
Examples
Example 1
{'Welcome to my homepage!'|contains( 'my' )}
Returns TRUE.
Example 2
{'Welcome to my homepage!'|contains( 'your' )}
Returns FALSE.
Balazs Halasy (05/02/2004 10:53 am)
Balazs Halasy (14/04/2005 11:32 am)
Comments
There are no comments.