touniformstring( value )
Converts a value or list to text, preserving the original scalar or array structure. To concatenate the array into one string, see tostring().
Keyword | Type | Description |
---|---|---|
|
Any Type |
Value to convert. |
Text
Arrays are preserved.
When operating on arrays, it is not necessary to use apply
with touniformstring
. If multiple parameters are passed, or one parameter is an Array, then an Array of Text is returned.
1
touniformstring("John Doe 1060 West Addison Chicago","IL")
Returns {"John Doe 1060 West Addison Chicago", "IL"}
, a list of two strings.
1
touniformstring({ 1, 2, "a", null, "b", "", "c", {} })
Returns {"1", "2", "a", "", "b", "", "c"}
, a list of seven strings. Null values are converted to empty strings, and the final empty list is not included in the result.
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 |
touniformstring() Function