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