substr
x | substr(start=, length=?)length characters from start (negative counts from the end).
Arguments#
| Argument | Type | Required |
|---|---|---|
start | int | yes |
length | int | no |
Details#
- Kind: Filter, implemented by fugo.
- Available in: every kind of template: layouts, partials, shortcodes and render hooks.
- Output: escaped like any value, unless marked
safe.