Skip to content

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

Open
@ahangarha

Description

@ahangarha

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions