Manipulation
21True if s is nil, empty, or contains only whitespace.
functionclojure.string
Converts first character of the string to upper-case, all other characters to lower-case.
functionclojure.string
True if s ends with substr.
functionclojure.string
Return a new string, using cmap to escape each character ch from s as follows: If (cmap ch) is nil, append ch to the ne...
functionclojure.string
True if s includes substr.
functionclojure.string
Return index of value (string or char) in s, optionally searching forward from from-index or nil if not found.
functionclojure.string
Returns a string of all elements in coll, as returned by (seq coll), separated by an optional separator.
functionclojure.string
Return last index of value (string or char) in s, optionally searching backward from from-index or nil if not found.
functionclojure.string
Converts string to all lower-case.
functionclojure.string
Replaces all instance of match with replacement in s. match/replacement can be: string / string pattern / (string or f...
functionclojure.string
Replaces the first instance of match with replacement in s. match/replacement can be: string / string pattern / (strin...
functionclojure.string
Returns s with its characters reversed.
functionclojure.string
Splits string on a regular expression. Optional argument limit is the maximum number of parts. Not lazy. Returns vector ...
functionclojure.string
Splits s on \n or \r\n. Trailing empty lines are not returned.
functionclojure.string
True if s starts with substr.
functionclojure.string
Returns the substring of s beginning at start inclusive, and ending at end (defaults to length of string), exclusive.
functioncljs.core
Removes whitespace from both ends of string.
functionclojure.string
Removes all trailing newline \n or return \r characters from string. Similar to Perl's chomp.
functionclojure.string
Removes whitespace from the left side of string.
functionclojure.string
Removes whitespace from the right side of string.
functionclojure.string
Converts string to all upper-case.
functionclojure.string