Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please add 'String.split' #33

Closed
masrourmouad opened this issue Nov 15, 2018 · 2 comments
Closed

Please add 'String.split' #33

masrourmouad opened this issue Nov 15, 2018 · 2 comments

Comments

@masrourmouad
Copy link

No description provided.

@thibaultcha
Copy link
Member

If you are using this fork of LuaJIT, you most likely are an OpenResty user. In which case, be aware that ngx.re.split already exists.

I doubt we'd add a string.split function which would result in non-standard Lua code (granted, table extensions are available but for good performance reasons). There also exists plenty of pure Lua implementations of split out there that you can load in your own Lua code.

@masrourmouad
Copy link
Author

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants