lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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