Liking cljdoc? Tell your friends :D

org.soulspace.clj.string


camel-case-to-hyphenclj

(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.
raw docstring

camel-case-to-underscoreclj

(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.
raw docstring

eqclj

(eq s1 s2)

Equal string comparison.

Equal string comparison.
raw docstring

first-lower-caseclj

(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.
raw docstring

first-upper-caseclj

(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.
raw docstring

from-camel-caseclj

(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"
raw docstring

geclj

(ge s1 s2)

Greater or equal string comparison.

Greater or equal string comparison.
raw docstring

gtclj

(gt s1 s2)

Greater than string comparison.

Greater than string comparison.
raw docstring

hyphen-to-camel-caseclj

(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.
raw docstring

leclj

(le s1 s2)

Less or equal string comparison.

Less or equal string comparison.
raw docstring

lower-case?clj

(lower-case? c)

Returns true if the char is lower case.

Returns true if the char is lower case.
raw docstring

ltclj

(lt s1 s2)

Less than string comparison.

Less than string comparison.
raw docstring

neclj

(ne s1 s2)

Not equal string comparison.

Not equal string comparison.
raw docstring

parse-numberclj

(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.
raw docstring

substringclj

(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.
raw docstring

to-camel-caseclj

(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.
raw docstring

to-kebab-caseclj

(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"
raw docstring

underscore-to-camel-caseclj

(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.
raw docstring

upper-case?clj

(upper-case? c)

Returns true if the char is upper case.

Returns true if the char is upper case.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close