Paul King created GROOVY-8733:
---------------------------------

             Summary: Groovy could provide a chop DGM method
                 Key: GROOVY-8733
                 URL: https://issues.apache.org/jira/browse/GROOVY-8733
             Project: Groovy
          Issue Type: Improvement
            Reporter: Paul King


The method would chop the list at a specified index (or multiple index values).
{{assert ['a', 'b', 'c', 'd', 'e'].chop(2) == [['a', 'b', 'c'], ['d', 'e']]}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to