compare
Summary
Compares the contents of two strings.
Usage
input|compare( compare_with )
Returns
TRUE if the strings match, FALSE otherwise.
Description
This operator compares the contents of two strings and returns TRUE if they're identical, FALSE if they differ.
Examples
Example 1
{'Hello world'|compare( 'Hello world' )}Returns TRUE.
Example 2
{'Hello world'|compare( 'Goodbye world' )}Returns FALSE.
Contributors
- Balazs Halasy Updated
Comments
Add a comment