> For AI agents: the complete documentation index is available at https://massaman.dev/llms.txt, the full documentation bundle is available at https://massaman.dev/llms-full.txt.

# String


[camelCaseConverts a string to camel case.](/reference/string/camelCase)[capitalizeConverts the first character of a string to uppercase and the remaining characters to lowercase.](/reference/string/capitalize)[constantCaseConverts a string to constant case.](/reference/string/constantCase)[deburrConverts special characters and diacritics to ASCII characters.](/reference/string/deburr)[dedentRemoves the common leading whitespace from every line of a multi-line string.](/reference/string/dedent)[escapeConverts characters with special meaning in HTML to safe entities.](/reference/string/escape)[escapeRegExpEscapes characters with special meaning in regular expressions to literal characters.](/reference/string/escapeRegExp)[kebabCaseConverts a string to kebab case.](/reference/string/kebabCase)[lowerCaseConverts a string to lower case format.](/reference/string/lowerCase)[lowerFirstConverts the first character of a string to lowercase.](/reference/string/lowerFirst)[padPads a string on both sides to reach a specified length.](/reference/string/pad)[pascalCaseConverts a string to pascal case.](/reference/string/pascalCase)[reverseStringReverses a string.](/reference/string/reverseString)[snakeCaseConverts a string to snake case.](/reference/string/snakeCase)[startCaseConverts the first letter of each word in a string to uppercase.](/reference/string/startCase)[trimRemoves whitespace or specified characters from the beginning and end of a string.](/reference/string/trim)[trimEndRemoves whitespace or specified characters from the end of a string.](/reference/string/trimEnd)[trimStartRemoves whitespace or specified characters from the start of a string.](/reference/string/trimStart)[unescapeConverts HTML entity characters to their original characters.](/reference/string/unescape)[upperCaseConverts a string to a format where all letters are uppercase and words are separated by spaces.](/reference/string/upperCase)[upperFirstConverts the first character of a string to uppercase.](/reference/string/upperFirst)[wordsSplits a string into an array of words.](/reference/string/words)