string_unescape 1.5.1
string_unescape: ^1.5.1

Dart native js
Flutter Android iOS web

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

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);
2
likes
80
pub points
72%
popularity

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

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

tejainece@gmail.com

License

BSD (LICENSE)

More

Packages that depend on string_unescape