Liking cljdoc? Tell your friends :D

cuerdas

Circle CI

Introduction

The missing clojure(script) string manipulation library.

La guitarra,
hace llorar a los sueños.
El sollozo de las almas
perdidas,
se escapa por su boca
redonda.
Y como la tarántula
teje una gran estrella
para cazar suspiros,
que flotan en su negro
aljibe de madera.

— Federico García Lorca
Las Seis Cuerdas

Install

The simplest way to use cuerdas in a clojure project, is by including it in the dependency vector on your project.clj file:

[cuerdas "0.3.1"]

Quick start

Import the namespace
(ns my.namespace
  (:require [cuerdas.core :as str]))
Use its functions
(str/strip-tags "<p>just <b>some</b> text</p>")
;; => "just some text"

(str/strip-tags "<p>just <b>some</b> text</p>" "p")
;; => "just <b>some</b> text"

How to Contribute?

cuerdas unlike Clojure and other Clojure contrib libs, does not have many restrictions for contributions.

Pull requests are welcome!

License

cuerdas is licensed under BSD (2-Clause) license.

Can you improve this documentation?Edit on GitHub

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

× close