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

Add limit to split filter, like split method in Ruby #1800

Open
ahangarha opened this issue May 11, 2024 · 0 comments · May be fixed by #1801
Open

Add limit to split filter, like split method in Ruby #1800

ahangarha opened this issue May 11, 2024 · 0 comments · May be fixed by #1801

Comments

@ahangarha
Copy link

In Ruby language, the split method accepts an optional limit argument which is handy for the cases in which the user want to split the string into max number of chunks. It would be handy to have this feature in Liquid too.

I would like to implement it if there is no objection.

@ahangarha ahangarha linked a pull request May 11, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant