FLUTTER ECOSYSTEM

cgrep-tool/string_unescape

Handy utility to unescape string representation (unicode, newline, tab, etc).

string_unescape project cover
Stars
3
Forks
5
Last push (UTC)
Oct 25, 2021
Project status
Active
cgrep-tool GitHub avatar
GITHUB Organization

cgrep-tool ↗

LanguagesDart

Packages published by this repository

Dependencies used

Dependency list 2 items
  • lintDevelopment^1.0.1
  • testDevelopment^1.17.2

Original README

English project snapshot. Visit GitHub for the latest content.

Expand / collapse project README

String unescape

Handy utility to unescape string representation (unicode, newline, tab, etc).

Example

Unescape string

expect(unescape(r"a\nb"), "a\nb");
expect(unescape(r"a\x0ab"), "a\nb");

Unescape character

expect(unescapeChar(r"a"), 97);
expect(unescapeChar(r"🀀"), 0x1F000);