String Truncate

Clips the string to a maximum character length, optionally appending a suffix (like "…") when truncation occurs. Strings already within the limit are not modified.

Interface

Inputs

ParameterDetailsPossible Types
String

The string to truncate.

Primary Input

String
Length

The maximum number of characters allowed, including the suffix if one is appended.

Default: 80

u32
Suffix

A suffix appended to indicate truncation occurred, unless empty. Its length counts towards the character budget.

Default: 

String

Outputs

ProductDetailsPossible Types
Result

The value produced by the node operation.

Primary Output

String