Skip to content

@technobuddha > library > String

Case Conversion

NameTypeDescription
capitalizeFunctionCapitalize the first word in a sentence, or capitalize a single word.
matchCaseFunctionAttempt to convert the input string into the same case as the target string
startCaseFunctionConverts a given string to start case, capitalizing the first letter of each word and converting the rest to lowercase.
titleCaseFunctionConvert a string to a title, capitalizing each word, except for the small words
uncapitalizeFunctionCapitalize the first word in a sentence, or capitalize a single word.