local t1 = “John D. Doe.”
local t2 = string.gsub( s1, “.”, " " )
print ( t2 ) —> nothing
but replace “.” with something else, like “+”, it works.
local t1 = “John D. Doe.”
local t2 = string.gsub( s1, “.”, " " )
print ( t2 ) —> nothing
but replace “.” with something else, like “+”, it works.
sorry, typo error:
should read as :
local t1 = “John D. Doe.”
local t2 = string.gsub( t1, “.”, " " )
print ( t2 ) —> nothing
OK, i figured it out.
must use “%.” to find the “.” :)
sorry, typo error:
should read as :
local t1 = “John D. Doe.”
local t2 = string.gsub( t1, “.”, " " )
print ( t2 ) —> nothing
OK, i figured it out.
must use “%.” to find the “.” :)