@EXP
— Expands C escape sequences
in a string.
Syntax:
%@EXP[
string]
string | the string to be expanded |
This function returns the input string after expanding escape sequences.
echo %@exp[Hello:\t\U1f601]
See also: @ESCAPIFY
, which performs
the reverse operation, escaping troublesome characters in a string.