Cl Str Versions Save

Modern, simple and consistent Common Lisp string manipulation library.

0.21

5 months ago

from our changelog:

  • 0.21, November, 2023:
    • added the regex key argument to split, rsplit, split-omit-nulls.
  • August, 2023:
    • added the regex key argument to the replace-* functions.
  • March, 2023:
    • added str:ensure, str:ensure-prefix, str:ensure-suffix, str:ensure-wrapped-in and str:wrapped-in-p.
  • January, 2023: added the :char-barg parameter to trim, trim-left, trim-right.
    • minor: ends-with-p now works with a character.
  • June, 2022: small breaking change: fixed prefixp when used with a smaller prefix: "f" was not recognized as a prefix of "foobar" and "foobuz", only "foo" was. Now it is fixed. Same for suffixp.
  • Feb, 2022: added fit: fit the string to the given length: either shorten it, either padd padding.
  • 0.20, May, 2021: added ascii-p.

0.19

3 years ago

0.16

4 years ago
  • added pad, pad-[left, right, center]

0.15

4 years ago
  • added functions to change case (based on cl-change-case) and to remove punctuation.

0.17

4 years ago
  • added the s-assoc-value function

  • support characters for join (as does split)

  • added collapse-whitespaces

  • added replace-first

  • fixed: remove-punctuation respects the case.

  • fixed: from-file "odd number of arguments" error

0.8

6 years ago

added the string-case macro.

0.2

6 years ago
  • new: contains? and containsp.

released in september's quicklisp dist.