Strings
Coerce to char
functionclojure.core
Formats a string using java.lang.String.format, see java.util.Formatter for format string syntax
functionclojure.core
Returns a Keyword with the given namespace and name. Do not use : in the keyword strings, it will be added automatica...
functionclojure.core
Returns the name String of a string, symbol or keyword.
functionclojure.core
Parse strings "true" or "false" and return a boolean, or nil if invalid
functionclojure.core
Parse string with floating point components and return a Double value, or nil if parse fails. Grammar: https://docs...
functionclojure.core
Parse string of decimal digits with optional leading -/+ and return a Long value, or nil if parse fails
functionclojure.core
Parse a string representing a UUID and return a java.util.UUID instance, or nil if parse fails. Grammar: https://do...
functionclojure.core
With no args, returns the empty string. With one arg x, returns x.toString(). (str nil) returns the empty string. Wit...
functionclojure.core
Returns a Symbol with the given namespace and name. Arity-1 works on strings, keywords, and vars.
functionclojure.core
True 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 ...
functionclojure.string
True if s includes substr.
functionclojure.string
Return index of value (string or char) in s, optionally searching forward from from-index. Return nil if value not fou...
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. Return nil if value n...
functionclojure.string
Converts string to all lower-case.
functionclojure.string
Given a replacement string that you wish to be a literal replacement for a pattern match in replace or replace-first,...
functionclojure.string
Replaces all instance of match with replacement in s. match/replacement can be: string / string char / char ...
functionclojure.string
Replaces the first instance of match with replacement in s. match/replacement can be: char / char string / st...
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 vect...
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.
functionclojure.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
Return true if x is a String
functionclojure.core
Returns the next regex match, if any, of string to pattern, using java.util.regex.Matcher.find(). Uses re-groups to r...
functionclojure.core
Returns the groups from the most recent match/find. If there are no nested groups, returns a string of the entire matc...
functionclojure.core
Returns an instance of java.util.regex.Matcher, for use, e.g. in re-find.
functionclojure.core
Returns the match, if any, of string to pattern, using java.util.regex.Matcher.matches(). Uses re-groups to return th...
functionclojure.core
Returns an instance of java.util.regex.Pattern, for use, e.g. in re-matcher.
functionclojure.core
Returns a lazy sequence of successive matches of pattern in string, using java.util.regex.Matcher.find(), each such ma...
functionclojure.core