中文
Node Documentation

Trim

DataTarget independenttext.trim

Remove 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

TexttextString

The text this node reads, converts, searches or types.

Default availableDefault: ""

Data outputs 1

ResultresultString

The result of this data operation, with its type determined by the matching inputs.

Version and node identity

Version 1.0.0

sha256:ec9f5ec4be4333da20882a7c808941b22587deee1e1fed0dae88616dbe7574ad