[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: string.findpairs?
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Fri, 12 Dec 2014 11:33:48 -0200
> Can I do that with a for loop?
S="The quick brown fox jumps over the lazy dog"
for a,b in S:gmatch("(%S+)%s+(%S+)") do
print(a,b)
end