What is the string pattern for a space? Like, the space the spacebar types?
Is there a pattern that does JUST the spacebar?
My goal is to print each word in a sentence, but the word I'm gets split up into I and m when I try "%a+":
for w in string.gmatch("I'm filling out a job application.", "%a+") do
print(w)
wait()
end
I would appreciate any replys. Thanks!

1 comment
Note: if you would like this approach, I'd use "[%a']+". This is a set of the %a pattern + the ' character. However you would need to define every char in this pattern and thus I think my approach with the "not set" is better.