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