Converts a string to a human-readable Title Case string.
Words are split on spaces, underscores, and hyphens. Every first letter of each word is capitalised except for words specified in options.preserveWords.
The comparison for preserved words is case-insensitive, but the original casing provided in preserveWords is retained in the output.
Converts a string to a human-readable Title Case string.
Words are split on spaces, underscores, and hyphens. Every first letter of each word is capitalised except for words specified in
options.preserveWords.The comparison for preserved words is case-insensitive, but the original casing provided in
preserveWordsis retained in the output.