(camelize s)Turns snake_case into CamelCase:
clojure => Clojure special_guest => SpecialGuest
Turns snake_case into CamelCase: clojure => Clojure special_guest => SpecialGuest
(char-counter ch)Returns a function that counts character occurences in a string
Returns a function that counts character occurences in a string
(from-byte-buffer buf)Creates a new string from the contents of the provided NIO byte buffer
Creates a new string from the contents of the provided NIO byte buffer
(interpolate-kv pattern m)Replaces named placeholders (:name, :x, :age, etc) in the string with values of their respective keys in the provided map.
Examples:
(interpolate-kv "X = :x" {:x "42"}) ;= "X = 42"
Replaces named placeholders (:name, :x, :age, etc) in the string with values of their respective keys in the provided map.
Examples:
(interpolate-kv "X = :x" {:x "42"}) ;= "X = 42"(interpolate-vals pattern values)Replaces value placeholders (?) in the string with their respective positional values.
Examples:
(interpolate-vals "X = ?" ["42"]) ;= "X = 42"
Replaces value placeholders (?) in the string with their respective positional values. Examples: (interpolate-vals "X = ?" ["42"]) ;= "X = 42"
(to-byte-buffer s)(to-byte-buffer s encoding)Wraps provided string into a NIO ByteBuffer
Wraps provided string into a NIO ByteBuffer
(underscore s)Turns CamelCase into snake_case:
GL11Version => gl11_version SimpleXMLParser => simple_xml_parser
Turns CamelCase into snake_case: GL11Version => gl11_version SimpleXMLParser => simple_xml_parser
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |