Files
opentf/website/docs/language/functions/strrev.html.md
2021-01-22 12:22:21 -08:00

624 B

layout, page_title, sidebar_current, description
layout page_title sidebar_current description
language strrev - Functions - Configuration Language docs-funcs-string-strrev The strrev function reverses a string.

strrev Function

strrev reverses the characters in a string. Note that the characters are treated as Unicode characters (in technical terms, Unicode grapheme cluster boundaries are respected).

strrev(string)

Examples

> strrev("hello")
olleh
> strrev("a ☃")
☃ a