Escapes given character string by replacing ASCII control characters
by an escape string. For instance, character ASCII_LF
(new line)
is turned into literal \n
. Non-printable characters without common
literal are replaced with \x
plus ASCII character code in
hexadecimal, from \x00
to \x1F
.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | str |
Input string. |
Output string.