Trim Whitespace function

From LabVIEW Wiki
Jump to: navigation, search
Object information
Owning palette(s) String palette
Type VI
Requires Basic Development Environment
Icon String Palette - Trim Whitespace.png

The Trim Whitespace function removes all ASCII white space (spaces, tabs, carriage returns, and linefeeds) from the beginning, end, or both ends of the string. The Trim Whitespace VI does not remove double-byte characters.

The default is to remove white space from both ends of the string.

Usage

The location enum includes:

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

History

Version Change(s)
LabVIEW 2018 More info to come.

See Also

External Links