This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Replace . with ,
#4
(18.10.2021, 14:40)admin Wrote: Dot is a special symbol which means "any character". Add % before the dot and it will work:
Code:
value = value:gsub('%.', ',')

Worked like a charm.

Thanks for help, once again!
There are 10 kinds of people in the world; those who can read binary and those who don't  Cool
Reply


Messages In This Thread
Replace . with , - by Trond Hoyem - 18.10.2021, 14:08
RE: Replace . with , - by admin - 18.10.2021, 14:40
RE: Replace . with , - by Trond Hoyem - 19.10.2021, 08:36
RE: Replace . with , - by Trond Hoyem - 20.10.2021, 05:16

Forum Jump: