Trim Whitespace VI

Owning Palette: String Functions

Requires: Base Development System

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.

 Add to the block diagram  Find on the palette
location determines if this function removes white space from the beginning, end, or both ends of string. The default is both.

0Both—Removes white space from both ends of the input string.
1Start of string—Removes white space from the start of the input string.
2End of string—Removes white space from the end of the input string.
string is the input string.
trimmed string contains the string with the white space removed.