Code: Select all
string.gsub("hello.world.bye",  "." , "-")Code: Select all
--------------- 15Code: Select all
string.gsub("hello#world#bye",  "#" , "-")Code: Select all
hello-world-bye 3Why the dot "." doesn't work in the string.gsub function?
-G