Overview
Thetruncate transformation truncates the input to a specific size, with optional start position and ellipsis.
Syntax
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
variable | string | Yes | - | The text to truncate |
start | number | No | 0 | Start position for truncation |
end | number | No | 10 | Maximum character length |
elipsis | boolean | No | false | Whether to add ellipsis (…) at the end |