24.11.2020, 10:50
(24.11.2020, 10:33)admin Wrote: dot is a special symbol that is treated as "any character" by the gsub. You need to escape it like this:
Since you are using comma as a decimal separator you should use ; instead of comma as csv field separator.Code:value = string.gsub(tostring(obj.value), "%.", ",")
csv[ #csv + 1 ] = obj.name .. ';' .. value
Yes I know. I already use ";" in fact the format of the file in excel as well is perfect. Great Job. Thanks.
Now I work to download file from Mosaic as well.
Thanks.