- #23 Fix
lisp-caseerroneously splitting on parenthesis.
- #22 Fix
lisp-caseremoving special characters
declareevery variable we re-export or alias, to make life easier on tooling relying on static analysis.
- #18
camel-casevs empty string - #17
slicewith length outside string boundary - #16
slugvs uppercase diacritical marks
- Add missing cljs alias for
replace-first.
Most of these are motivated by the changes to clojure.string in 1.8.
- Bump Clojure and Clojurescript dependencies to latest.
- Rename
contains?toincludes?and expand input values to includejava.lang.CharSequence. - Rename
contains-all?toincludes-all?. - Rename
contains-any?toincludes-any?. - Alias
clojure.string/index-of?replacing our own implementation. - Alias
clojure.string/last-index-of?replacing our own implementation. - Extend the input value of
starts-with?to include anything implementingjava.lang.CharSequenceto match the version inclojure.string. - Extend the input value of
ends-with?to include anything implementingjava.lang.CharSequenceto match the version inclojure.string.
- #5
inslugnow changesłtol`, instead of deleting the character. - Add
translate, used to translate occurrences of certain characters into something else.
- #5
strip-accentstranslated the letterłtolin the cljs version.
- Add Clojurescript support.
- Remove
title-case, it was duplicatingclojure.string/capitalize. - Various docstring improvements.
- #4 Inconsistency in the
pascal-casedocstring. Examples were correct, prose was wrong.
- Add
char-at, which wraps the native String/charAt - Add
re-quotewhich quotes a string, for use in regular expressions.
mixed-case?is now false on strings like "123" where no character has a case.swap-caseon "ß" now returns "SS"- Fix
starts-with?throwing exception whenprefixis longer thans.