Awee

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

#TypeRequired
0stringno

Returns

string, bytes

Examples

{{ path | trim-prefix:'/' }}
{{ text | trim-prefix }}

How is this guide?

On this page