StringEscapeUtils

Adapted from apache commons-lang3 project.

Unescapes escaped chars in strings.

Functions

Link copied to clipboard
open fun escapeJava(input: String): String
Escapes the characters in a String using Java String rules.
Link copied to clipboard
open fun unescapeJava(input: String): String
Unescapes any Java literals found in the String.
Link copied to clipboard