From 12:00 PM - 8:00 PM CST on Thursday, October 18, will be undergoing system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Table Of Contents

Trim Whitespace (G Dataflow)

Last Modified: January 12, 2018

Removes all ASCII whitespace, such as spaces, tabs, carriage returns, and linefeeds, from the beginning, end, or both ends of the input string.


This node does not remove double-byte characters.



Value that determines whether to remove whitespace from the beginning, end, or both ends of the input string.

Name Value Description
both 0 Removes whitespace from both ends of the input string.
start of string 1 Removes whitespace from the start of the input string.
end of string 2 Removes whitespace from the end of the input string.

Default: both



String on which the node operates.


trimmed string

Input string with whitespace removed.

Where This Node Can Run:

Desktop OS: Windows

FPGA: Not supported

Web Server: Not supported in VIs that run in a web application

Recently Viewed Topics