std.strrev()

Reverses the given string. This function does not support UTF-8 encoded strings.

Errors

This function will set fastly.error to EUTF8 if the input string s is UTF-8 encoded.

Format

STRING
std.strrev(STRING s)

Examples

1
set var.s = std.strrev("abc"); # produces "cba"