exact() Function
This function may not be compatible with all features of Appian. For details, see the Feature Compatibility section below.

Function

exact( text1, text2 )

Compares two given text strings in a case-sensitive manner, returning true only if they are exactly the same.

See also: Comparison Operators

Parameters

Keyword Type Description

text1

Text

One of two strings that will be compared.

text2

Text

The other string that will be compared.

Returns

Boolean

Usage considerations

When comparing text strings, using this function over the = operator improves performance. The = operator, however, is case-insensitive. Only use the exact() function when case-insensitivity is not a requirement.

Examples

exact("Copy of the other","Copy of the other") returns true

exact("HELLO","HELLO") returns true

exact("Hello","HELLO") returns false

Feature compatibility

The table below lists this function's compatibility with various features in Appian.
Feature Compatibility Note
Portals Compatible
Offline Mobile Compatible
Custom Record Field Expressions Compatible
Open in Github Built: Wed, Aug 10, 2022 (11:20:24 PM)

On This Page

FEEDBACK