You could use penlight library. This has a function for splitting string using delimiter which outputs list.
It has implemented many of the function that we may need while programming and missing in Lua.
Here is the sample for using it.
>
> stringx = require "pl.stringx"
>
> str = "welcome to the world of lua"
>
> arr = stringx.split(str, " ")
>
> arr
{welcome,to,the,world,of,lua}
>