String Utils
Browse 3 pages in the string category.
toCamelCase
Converts text into camelCase using spaces, underscores, and hyphens as separators. The function lowercases all tokens, removes extra separators, and joins subsequent tokens with an uppercase leading character.
toSlug
Converts a string into a URL-friendly slug. The function lowercases text, removes diacritics, normalizes separators, strips unsupported characters, and joins words with hyphens.
toTitleCase
Converts text to title case using spaces, underscores, and hyphens as word separators. The function normalizes separators into single spaces, removes extra separators, and transforms each token so the first character is uppercase while the rest are lowercase.