Skip to main content

title

Convert a string into titlecase.

def title(
value: string
) - > string

Convert a string into titlecase.

Parameters

NameTypeDescription
valuestringThe string value to be transformed into titlecase format.

Returns

TypeDescription
stringThe input string converted to titlecase, with specific adjustments to ensure letters following apostrophes or digits remain lowercase.