Skip to content

Truncate String Node

Utils/String

Shortens a string to a maximum number of characters, appending an ellipsis when it was cut

string_truncatestd
Inputs3
Outputs2
Security exposure10/10
Packagestd

Ratings

Scores range from 0 to 10. Higher values mean more impact, exposure, or operational weight.

SecurityAttack surface and exposure impact.
10/10High
PrivacyPotential sensitivity of processed data.
10/10High
PerformanceRuntime or resource pressure.
10/10High
GovernancePolicy, audit, or compliance impact.
10/10High
ReliabilityOperational stability considerations.
10/10High
CostExternal or compute cost impact.
10/10High

Input Pins

3

String

String
string

Input String

Max Length

Integer
max_length

Maximum number of characters including the ellipsis

Default 100

Ellipsis

String
ellipsis

Appended when the string was cut

Default

Output Pins

2

Truncated

String
truncated

The shortened string

Was Truncated

Boolean
was_truncated

True when characters were removed

Node Info

Internal name
string_truncate
Category
Utils/String