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

joker.string/split of String Ignores Limit #441

Closed
jcburley opened this issue Feb 23, 2021 · 0 comments · Fixed by #442
Closed

joker.string/split of String Ignores Limit #441

jcburley opened this issue Feb 23, 2021 · 0 comments · Fixed by #442

Comments

@jcburley
Copy link
Contributor

The n argument is ignored when the sep (separator) argument is a String rather than a Regex:

user=> (joker.string/split "a/b/c/d" "/" 2)
["a" "b" "c" "d"]
user=>

(This is my bug; I implemented support of String type for sep and missed the n argument.)

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