lua-users home
lua-l archive

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


Hugo <tkokof@163.com> wrote:
> Lua standard library do not provide "split" function, and there are a lot
> of implementations with different limitations, there is even a wiki about
> this topic(http://lua-users.org/wiki/SplitJoin).

I understand that what you really want to discuss is split built into Lua.
However, I’ll mention that I maintain a string-split function on LuaRocks.

https://luarocks.org/modules/telemachus/split

I’m very open to suggestions—and bug reports, too.

https://github.com/telemachus/split/

Best, Peter

-- 
We have not been faced with the need to satisfy someone else's
requirements, and for this freedom we are grateful.
    Dennis Ritchie and Ken Thompson, The UNIX Time-Sharing System