Skip to content

Tamper: Truncate

Plugin ID: eca_tamper:truncate_text

Available since: 1.0.0

Truncate

Fields

Data to be tampered — config key: eca_data


This field supports tokens.

Type: textfield · Required: yes · Default: empty string

Result token name — config key: eca_token_name

Provide a token name under which the tampered result will be made available for subsequent actions.
This field supports tokens.

Type: textfield · Required: yes · Default: empty string

Number of characters — config key: num_char

The number of characters the text will be limited to.
This field supports tokens.

Type: number · Required: no · Default: 0

Ellipses — config key: ellipses

Add ellipses (…) to the end of the truncated text.

Type: checkbox · Required: no · Default: false

Truncate on a word boundary — config key: wordsafe

Attempt to truncate on a word boundary.

Type: checkbox · Required: no · Default: false