Add commas to a string
snippet in lua

Add commas to a string

user9626

t = string.gsub(s, " ", ",")