Functions

tcase

Supported By

Syntax

[the] tcase of factor

tcase ( expression )

Factor and expression yield strings.

Description

The tcase function converts the specified string to title case and returns the resulting string. Letters are converted to lowercase if they are preceded by a letter, and converted to uppercase if they are preceded by a non-letter. For example, tcase("Hello, my name is Rebecca. But you can call me Beckie.") = "Hello, My Name Is Rebecca. But You Can Call Me Beckie.".

See Also

ucase, lcase