Re: A citation on Lua
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: A citation on Lua
- From: dcharno <dcharno@...>
- Date: 2006年12月18日 09:49:06 -0500
I think for him lack of 'split' counts as a design flaw?
Couldn't he just use gmatch ...
function strsplit(s, delim)
return string.gmatch(s, string.format("[^s]+", delim))
end