ibexa

Caution: This documentation is for eZ Publish legacy, from version 3.x to 5.x.

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.

Balazs Halasy (05/02/2004 10:52 am)

Balazs Halasy (04/05/2005 2:37 pm)


Comments

There are no comments.