Trim Whitespace VI

LabVIEW 2018 Help


Edition Date: March 2018
Part Number: 371361R-01
View Product Info

DOWNLOAD (Windows Only)


LabVIEW 2015 Help
LabVIEW 2016 Help
LabVIEW 2017 Help
LabVIEW 2018 Help
LabVIEW 2019 Help

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.

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.

WAS THIS ARTICLE HELPFUL?

Not Helpful