String utilities.
String utilities.
(prune s)
(prune s len)
(prune s len side)
(prune s len side dots)
Returns pruned string that is shortened to the certain length and added dots. The leaving side can be selected from :left, :right, or :both.
Returns pruned string that is shortened to the certain length and added dots. The leaving side can be selected from :left, :right, or :both.
(split-at s x)
Returns a vector of substrings split at the position. You can supply an integer or list as the splitting position.
Returns a vector of substrings split at the position. You can supply an integer or list as the splitting position.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close