(camel-case-to-hyphen s)
Converts the camel case string 's' to a hyphenized string.
Converts the camel case string 's' to a hyphenized string.
(camel-case-to-underscore s)
Converts the camel case string 's' to a underscored string.
Converts the camel case string 's' to a underscored string.
(first-lower-case s)
Returns the string with the first letter converted to lower case.
Returns the string with the first letter converted to lower case.
(first-upper-case s)
Returns the string with the first letter converted to upper case.
Returns the string with the first letter converted to upper case.
(from-camel-case c s)
Converts a string 's' from camel case to a lower case string with the spacer character 'c' inserted in front of intra word uppercase chars. Spacer chars are not inserted into upper case abbreviations. The case of the chars is retained.
Examples: (from-camel-case - "fromCamelCase") -> "from-Camel-Case" (from-camel-case - "getHTTPRequest") -> "get-HTTP-Request"
Converts a string 's' from camel case to a lower case string with the spacer character 'c' inserted in front of intra word uppercase chars. Spacer chars are not inserted into upper case abbreviations. The case of the chars is retained. Examples: (from-camel-case \- "fromCamelCase") -> "from-Camel-Case" (from-camel-case \- "getHTTPRequest") -> "get-HTTP-Request"
(ge s1 s2)
Greater or equal string comparison.
Greater or equal string comparison.
(hyphen-to-camel-case s)
Converts the hyphenized string 's' to a camel case string.
Converts the hyphenized string 's' to a camel case string.
(le s1 s2)
Less or equal string comparison.
Less or equal string comparison.
(lower-case? c)
Returns true if the char is lower case.
Returns true if the char is lower case.
(parse-number s)
Reads a number from a string. Returns nil if not a number.
Reads a number from a string. Returns nil if not a number.
(substring begin-idx s)
(substring begin-idx end-idx s)
Returns a substring of string defined by the indices.
Returns a substring of string defined by the indices.
(to-camel-case c s)
Converts a string 's' into camel case. Removes occurences of 'c' and converts the next character to upper case.
Converts a string 's' into camel case. Removes occurences of 'c' and converts the next character to upper case.
(to-kebab-case s)
Converts a camel case string 's' to kebab case, which is a lower case, hyphenized string.
Examples: (to-kebab-case "toKebabCase") => "to-kebab-case" (to-kebab-case "getHTTPRequest") => "get-http-request"
Converts a camel case string 's' to kebab case, which is a lower case, hyphenized string. Examples: (to-kebab-case "toKebabCase") => "to-kebab-case" (to-kebab-case "getHTTPRequest") => "get-http-request"
(underscore-to-camel-case s)
Converts the underscored string 's' to a camel case string.
Converts the underscored string 's' to a camel case string.
(upper-case? c)
Returns true if the char is upper case.
Returns true if the char is upper case.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close