Trim String
Last updated
Last updated
The Trim String node is used to remove any leading and trailing whitespace characters from a string. Whitespace characters include spaces, tabs, and newlines that appear before the first non-whitespace character or after the last non-whitespace character in a string.
Field
Description
Required
Node name
true
Variable Name
Variable name containing string which you want to trim
true
Let's say you want to remove all the leading and trailing whitespaces in @wscos@
stored in $.variables.password
.
Set Variable Name
to $.variables.password
.
It will convert the string in place and store in the same variable. If variable $.variables.password
doesn't exist, it'll raise an error.
This node does not return any value, but stores the trimmed string in the same variable provided in <Variable Name>
in the flow context.