;; simple examples user=> (char-escape-string \newline) "\\n" user=> (char-escape-string \c) ; no escape sequence for 'c' nil user=> (char-escape-string \tab) "\\t" user=> (char-escape-string \backspace) "\\b" user=>
(def ^{:tag String
:doc "Returns escape string for char or nil if none"
:added "1.0"}
char-escape-string
{\newline "\\n"
\tab "\\t"
\return "\\r"
\" "\\\""
\\ "\\\\"
\formfeed "\\f"
\backspace "\\b"})
Comments top
No comments for char-escape-string. Log in to add a comment.