toml / org.apache.tuweni.toml / Toml / tomlEscape

tomlEscape

static fun tomlEscape(text: String): StringBuilder (source)

Escape a text string using the TOML escape sequences.

Parameters

text - The text string to escape.

Return
A StringBuilder holding the results of escaping the text.