FunctionCopy link to clipboard
like( text, with )
Tests whether a string of text is like a given pattern.
ParametersCopy link to clipboard
Keyword | Type | Description |
---|---|---|
|
Text |
Text to match against pattern. |
|
Text |
Pattern, where ? is any character, * is zero or more characters, [characters] is any listed character. |
ReturnsCopy link to clipboard
Boolean
Usage considerationsCopy link to clipboard
Using wildcardsCopy link to clipboard
with accepts the following wildcard characters:
- * - matches one or more characters (including an empty character). Multiple consecutive asterisks (multiple anything) is invalid input; use just one.
- ? - matches any one character. Multiple question marks match the same number of characters.
- [characters] - matches one of the enclosed characters.
- [^characters] - matches anything but the enclosed characters.
- [number-number] - matches a range of numbers created in combination with the enclosed.
Wildcard examplesCopy link to clipboard
- b*t matches bet; beat; and beast.
-
b?t matches bat ; and bet; and bit.
- a[cr]t matches act and art.
- ab[^bc] matches abd but not abb nor abc.
- [0-2]4 matches 04 and 14 and 24 not 74.
ExamplesCopy link to clipboard
like("brian","*ian")
returns true
Feature compatibilityCopy link to clipboard
The table below lists this function's compatibility with various features in Appian.
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 | Custom record fields that evaluate in real time must be configured using one or more Custom Field functions. |
Process Reports | Compatible | |
Process Events | Compatible | |
Process Autoscaling | Compatible |
FeedbackCopy link to clipboard
Was this page helpful?