shorten
Shorten truncates a string to the given maximum character length.
Shorten truncates a string to the given maximum character length.
Input
string
Parameters
| # | Type | Required |
|---|---|---|
| 0 | int | yes |
Returns
string
Examples
{{ description | shorten:100 }}
{{ name | shorten:50 }}How is this guide?