Removes valid formatting codes from a string.
t { assert(unformat("§agreen") == "green"); assert(unformat("res§ret") == "reset"); assert(unformat("§xunsupported") == "§xunsupported"); // consecutive assert(unformat("§§rr") == "")
See Implementation
Removes valid formatting codes from a string.