ez.no / exponential / documentation / reference / template operators / strings / extract_right
$input_string|extract_right( length )
| Name | Type | Description | Required |
|---|---|---|---|
| length | integer | Length of extraction. | yes |
string containing end of input string.
This operator extracts a portion from the end a string; the length parameter defines the length of the desired portion. The operator also works with arrays, refer to "extract_right" within the arrays category.
{"Gooooood morning Vietnam!"|extract_right( 8 )}
returns the string "Vietnam!".
Comments