Ok, I am trying to print ALL characters of a string (numbers, letters, and spaces). I am currently using the following code.
local word = "pizza2009"
for w in string.gmatch(word, "(%w)") do
print(w)
end
This works, forever if I adding a space between the “p” and “i” it would not print that. It just ignores it.
So I am trying to figure out how I can get it to include printing the space.