Trim
DataTarget independent
text.trimRemove spaces, newlines and tabs from both ends of the text.
Example use
Trim surrounding whitespace before comparing user input.
Node preview
Right-drag to pan and scroll to zoom. Expand inputs and edit parameters to see how ports change. This preview does not run the node; reopening the page restores the example.
Loading node preview…
Data inputs 1
- Text
textString The text this node reads, converts, searches or types.
Default availableDefault:""
Data outputs 1
- Result
resultString The result of this data operation, with its type determined by the matching inputs.
Version and node identity
Version 1.0.0
sha256:ec9f5ec4be4333da20882a7c808941b22587deee1e1fed0dae88616dbe7574ad