Liking cljdoc? Tell your friends :D

oops.cuerdas

This is our stripped down version of the cuerdas library to avoid bringing in an extra dependency.

This is our stripped down version of the cuerdas library to avoid bringing in an extra dependency.
raw docstring

escapeclj

(escape s)

Escapes characters in the string that are not safe to use in a RegExp.

Escapes characters in the string that are not safe
to use in a RegExp.
sourceraw docstring

joinclj

(join coll)
(join separator coll)

Joins strings together with given separator.

Joins strings together with given separator.
sourceraw docstring

linesclj

(lines s)

Return a list of the lines in the string.

Return a list of the lines in the string.
sourceraw docstring

regexp?clj

(regexp? x)

Return true if x is a regexp pattern instance.

Return `true` if `x` is a regexp pattern
instance.
sourceraw docstring

repeatclj

(repeat s)
(repeat s n)

Repeats string n times.

Repeats string n times.
sourceraw docstring

splitclj

(split s)
(split s sep)
(split s sep num)

Splits a string on a separator a limited number of times. The separator can be a string, character or Pattern (clj) / RegExp (cljs) instance.

Splits a string on a separator a limited
number of times. The separator can be a string,
character or Pattern (clj) / RegExp (cljs) instance.
sourceraw docstring

unlinesclj

(unlines s)

Returns a new string joining a list of strings with a newline char (\n).

Returns a new string joining a list of strings with a newline char (\n).
sourceraw docstring

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

× close