liquid icon indicating copy to clipboard operation
liquid copied to clipboard

Add limit to split filter, like split method in Ruby

Open ahangarha opened this issue 1 year ago • 0 comments

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 avatar May 11 '24 12:05 ahangarha