trim-prefix
TrimPrefix removes a leading prefix string or leading whitespace from the value.
TrimPrefix removes a leading prefix string or leading whitespace from the value.
Input
string bytes
Parameters
| # | Type | Required |
|---|---|---|
| 0 | string | no |
Returns
string, bytes
Examples
{{ path | trim-prefix:'/' }}
{{ text | trim-prefix }}How is this guide?