UnescapeTarget

sealed interface UnescapeTarget

Represents a target (commonly a language or format) that strings can be unescaped from.

For instance:

  • in HTML &lt; becomes <

  • in JavaScript \" becomes "

This is the inverse of EscapeTarget.

Inheritors

Functions

Link copied to clipboard
abstract fun unescape(input: String): String

Unescapes the input string from the target format.