FunctionCopy link to clipboard
len( text )
Returns the length in characters of the text.
ParametersCopy link to clipboard
Keyword | Type | Description |
---|---|---|
|
Text |
The text, the length of which will be returned. |
ReturnsCopy link to clipboard
Number
ExamplesCopy link to clipboard
1
len("boston")
Copy
Returns 6
.
1
len("New York", "San Francisco")
Copy
Returns {8, 13}
.
1
len({"New York", "San Francisco"})
Copy
Returns {8, 13}
. Items in a list are evaluated individually and returned as a list of numbers.
1
len(1000, 1000000, "ABC")
Copy
Returns {4, 7, 3}
.
1
len(null, "", " ")
Copy
Returns {0, 0, 1}
.
1
len(true(), false())
Copy
Returns {4, 5}
.
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?