io.jesi.backpack.string
->camelCase
(->camelCase s)->camelCase-key
->kebab-case
(->kebab-case s)->kebab-case-key
->proper-case
(->proper-case s)->snake_case
(->snake_case s)->snake_case-key
blank?
Similar to clojure.string/blank? but returns false if given a non-string
kebab->proper-case
(kebab->proper-case s)kebab-case->Proper-Kebab-Case
(kebab-case->Proper-Kebab-Case kebab-case-str)not-blank?
prefix
remove-prefix
(remove-prefix prefix s)(remove-prefix prefix separator s)Removes the prefix if the string starts with it otherwise ignores, is case sensitive
split-at-first
(split-at-first value s)Splits s at the first occurrence of value, returns nil when s is empty
subs
(subs s start)(subs s start end)subs-inc
(subs-inc match s)Returns the substring of ‘s’ up to and including the ‘match’ or nil
subs-to
(subs-to match s)Returns the substring of ‘s’ up until the ‘match’
suffix
true-string?
(true-string? s)True if ‘s’ is the string literal ‘true’
uuid-str?
(uuid-str? s)True if ‘s’ is a string and matches the UUID format