strEquals

Checks if two strings are equal, including case.

Note:

Use the Special String Operators for string concatenation, string inclusion, and simple comparison.

Type and Usage

Parameters

Takes two parameters:

  • The first parameter is a string.

  • The second parameter is the string to be compared to the first parameter.

Output

  • Returns TRUE if the strings are equal.

  • Returns FALSE if strings are not equal.

Example

Evaluates whether the strings are equal and returns TRUE (1):

<$strEquals("Home","Home")$>

Evaluates whether the strings are equal and returns FALSE (0):

<$strEquals("home","Home")$>

See Also