Trim Whitespace VI
- Updated2025-07-30
- 2 minute(s) read
Removes all ASCII white space (spaces, tabs, carriage returns, and linefeeds) from the beginning, end, or both ends of string. The Trim Whitespace VI does not remove double byte characters.
The default is to remove white space from both ends of string.

Inputs/Outputs
location (both)
—
location determines if this function removes white space from the beginning, end, or both ends of string. The default is both.
string
—
string is the input string.
trimmed string
—
trimmed string contains the string with the white space removed. |
location (both)
—
string
—
trimmed string
—