Skip to main content

Trim Text

Overview

Trims whitespace or a list of custom characters from the start and / or end of a string

Returns
Text

Parameters

ParameterParameterValid BlocksRequired
Use Dynamic NameShow the Dynamic Name slot in the tree so that it can be set dynamicallyBoolean Block GroupNo
Dynamic NameThe dynamic name of this itemText Block GroupNo
AttributesMetadata values for this block. Used in XML and multipart/form-data.Text Block GroupNo
InputThe input string to perform the replace operation onText Block GroupYes
Trim EndWhether to trim the start, the end, or both ends of the input stringText Block GroupNo
Trim TypeThe type of characters to trimText Block GroupNo
Custom charactersIf provided, and in 'custom' mode, trim any of these characters from the string (they are not treated as a whole word or phrase)Text Block GroupNo