Trim
Block Group: | String Operations |
Icon: |
The Trim block removes all leading and trailing whitespace from text.
For information on using dataflow blocks, see Dataflow.
Input/Output Property
The following property of the Trim block can take input and give output.
- input (string)
input specifies the text to remove whitespace from.
Output Property
The following property of the Trim block can give output but cannot take input.
- output (string)
output returns the input text, with any leading or trailing whitespace removed.
Example
The following image shows an example of a Trim block. In this example, the Trim block removes space characters or Tab characters before and after "Weather Forecast".