clojure.string
B
True if s is nil, empty, or contains only whitespace.
function([s])
C
Converts first character of the string to upper-case, all other characters to lower-case.
function([s])
E
True if s ends with substr.
function([s substr])
Return a new string, using cmap to escape each character ch from s as follows: If (cmap ch) is nil, append ch ...
function([s cmap])
I
J
Returns a string of all elements in coll, as returned by (seq coll), separated by an optional separator.
function([coll] [separator coll])
L
Return last index of value (string or char) in s, optionally searching backward from from-index. Return nil if value n...
function([s value] [s value from-index])
Converts string to all lower-case.
function([s])
R
Given a replacement string that you wish to be a literal replacement for a pattern match in replace or replace-first,...
function([replacement])
Replaces all instance of match with replacement in s. match/replacement can be: string / string char / char ...
function([s match replacement])
Replaces the first instance of match with replacement in s. match/replacement can be: char / char string / st...
function([s match replacement])
Returns s with its characters reversed.
function([s])
S
Splits string on a regular expression. Optional argument limit is the maximum number of parts. Not lazy. Returns vect...
function([s re] [s re limit])
Splits s on \n or \r\n. Trailing empty lines are not returned.
function([s])
True if s starts with substr.
function([s substr])
T
Removes whitespace from both ends of string.
function([s])
Removes all trailing newline \n or return \r characters from string. Similar to Perl's chomp.
function([s])
Removes whitespace from the left side of string.
function([s])
Removes whitespace from the right side of string.
function([s])
U
Converts string to all upper-case.
function([s])