|
|
||
|
Though in many cases, you don't really need split, e.g. something like the following is actually cleaner than doing a split and iterating over the resulting table:
for field in string.gmatch (STRING, "[^ \t\n]+") do .... use field ... end
And what if the fields are delimited by, say, "<delim>" ?
-- Shmuel