How to convert “\48\49” to “01” when its being printed out with string.gsub?

前端 未结 0 1829
轻奢々
轻奢々 2021-02-14 17:45

So I have this basic script:

local a  = "|48|49"
a        = a:gsub("|", "\\\\")

print(a)
print("\\48\\49")

 -------OUTPU         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题