Skip to contents

Returns the first words that fit within the given number of characeters.

Usage

text_truncate(value, width = 50)

Arguments

value

character to truncate

width

maximum number of characters the resulting string should be.