Liking cljdoc? Tell your friends :D

Changelog

Master unreleased

3.0.0

New features

  • #12 Add replace-last.
  • #11 Add some? which is the complement of blank?.

Bugs fixed

  • Add missing cljs alias for replace-first.

Changes

Most of these are motivated by the changes to clojure.string in 1.8.

  • Bump Clojure and Clojurescript dependencies to latest.
  • Rename contains? to includes? and expand input values to include java.lang.CharSequence.
  • Rename contains-all? to includes-all?.
  • Rename contains-any? to includes-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 implementing java.lang.CharSequence to match the version in clojure.string.
  • Extend the input value of ends-with? to include anything implementing java.lang.CharSequence to match the version in clojure.string.

2.1.0

New features

  • #5 inslugnow changesłtol`, instead of deleting the character.
  • Add translate, used to translate occurrences of certain characters into something else.

Bugs fixed

  • #5 strip-accents translated the letter ł to l in the cljs version.

2.0.0

New features

  • Add Clojurescript support.
  • Remove title-case, it was duplicating clojure.string/capitalize.
  • Various docstring improvements.

Bugs fixed

  • #4 Inconsistency in the pascal-case docstring. Examples were correct, prose was wrong.

1.1.0

New features

  • Add char-at, which wraps the native String/charAt
  • Add re-quote which quotes a string, for use in regular expressions.

Bugs fixed

  • mixed-case? is now false on strings like "123" where no character has a case.
  • swap-case on "ß" now returns "SS"
  • Fix starts-with? throwing exception when prefix is longer than s.

Can you improve this documentation?Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close