String
camelCase
Converts a string to camel case.capitalize
Converts the first character of a string to uppercase and the remaining characters to lowercase.constantCase
Converts a string to constant case.deburr
Converts special characters and diacritics to ASCII characters.dedent
Removes the common leading whitespace from every line of a multi-line string.escape
Converts characters with special meaning in HTML to safe entities.escapeRegExp
Escapes characters with special meaning in regular expressions to literal characters.kebabCase
Converts a string to kebab case.lowerCase
Converts a string to lower case format.lowerFirst
Converts the first character of a string to lowercase.pad
Pads a string on both sides to reach a specified length.pascalCase
Converts a string to pascal case.reverseString
Reverses a string.snakeCase
Converts a string to snake case.startCase
Converts the first letter of each word in a string to uppercase.trim
Removes whitespace or specified characters from the beginning and end of a string.trimEnd
Removes whitespace or specified characters from the end of a string.trimStart
Removes whitespace or specified characters from the start of a string.unescape
Converts HTML entity characters to their original characters.upperCase
Converts a string to a format where all letters are uppercase and words are separated by spaces.upperFirst
Converts the first character of a string to uppercase.words
Splits a string into an array of words.