Trim
Trim whitespace from the beginning and end of a string.
If chars is provided, each character in the string is treated as a character to trim instead of whitespace.
Method Signature
Trim(string=[string], chars=[string])Arguments
Argument
Type
Required
Description
Default
string
string
true
The string to trim
chars
string
false
An optional string of characters to trim. Each character is treated individually.
Examples
Trim
">" & trim( " BLDocs " ) & "<";
Result: >BLDocs<
Additional Examples
Related
Last updated
Was this helpful?
