String Trim
This block removes whitespace (spaces, tabs and line breaks) from a string.
Configuration
- Input String: the string to trim.
- Trim: which end to trim.
- Both Ends
- Start Only
- End Only
Connections
- Result: executed after trimming. The trimmed text is available to the following blocks as
result_str.
Trimming is useful when cleaning up data received from a serial port, a socket, or an HTTP request before comparing it.