Posted 09 June 2013 - 12:28 AM
So I wrote a program that uses string.gmatch(). So first I define a variable text = "Number_Star" and t = {} then I do for word in string.gmatch(text,"%w+") do table.insert(t,word) end what happen is that this end up splitting. So instead of being t[1] = "Number_Star" it is now t[1] ="Number" and t[2] = "Star". I was wondering is there away to connect them through string.gmatch() or is there a way to disable these special char "_" in read()?