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
Keyword | Type | Description |
---|---|---|
|
Text |
One of two strings that will be compared. |
|
Text |
The other string that will be compared. |
Boolean
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.
exact("Copy of the other","Copy of the other")
returns true
exact("HELLO","HELLO")
returns true
exact("Hello","HELLO")
returns false
Feature | Compatibility | Note |
---|---|---|
Portals | Compatible | |
Offline Mobile | Compatible | |
Sync-Time Custom Record Fields | Compatible | Can be used to create a custom record field that only evaluates at sync time. |
Real-Time Custom Record Fields | Incompatible | |
Process Reports | Compatible | |
Process Events | Compatible |
exact() Function