LOG IN SIGN UP
Documentation

cstr_escape()

Escapes bytes unsafe for printing from a string using C-style escape sequences.

Format

STRING
cstr_escape(STRING string)

Examples

# var.escaped is set to: city="london"
declare local var.escaped STRING;
set var.escaped = "city=%22" + cstr_escape(client.geo.city.ascii) + "%22";