Awee

trim-suffix

TrimSuffix removes a trailing suffix string or trailing whitespace from the value.

TrimSuffix removes a trailing suffix string or trailing whitespace from the value.

Input

string bytes

Parameters

#TypeRequired
0stringno

Returns

string, bytes

Examples

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

How is this guide?

On this page