ajalt / clikt

Multiplatform command line interface parsing for Kotlin
https://ajalt.github.io/clikt/
Apache License 2.0
2.57k stars 124 forks source link

Consider adding `limit` to `split(String)` #541

Closed JakeWharton closed 2 months ago

JakeWharton commented 2 months ago

Right now this is implemented as delegating to the Regex variant as opposed to using Kotlin's String.split. If the library was transitioned to the Kotlin function then this would become trivial to implement (probably also useful for splitPair's impl).