v2.0.0
string_unescape
方便的實用工具,用於還原字串表示形式(Unicode、換行、標籤等)。
6喜歡 2.7萬近 30 天下載140Pub 分數
AndroidiOSWebmacOSWindowsLinux
方便的實用工具,用於還原字串表示形式(Unicode、換行、標籤等)。
以下為英文專案原文快照,最新內容請造訪 GitHub。
Handy utility to unescape string representation (unicode, newline, tab, etc).
expect(unescape(r"a\nb"), "a\nb");
expect(unescape(r"a\x0ab"), "a\nb");
expect(unescapeChar(r"a"), 97);
expect(unescapeChar(r"🀀"), 0x1F000);