INITCAP

The INITCAP function returns a specified text expression, with the first letter of each word in uppercase and all other letters in lowercase. Words are delimited by white space or characters that are not alphanumeric.

Return Value

The same data type as the expression.

Syntax

INITCAP (text-exp)

Arguments

text-exp

A text expression.

Examples

The following example capitalizes each word in the string.

SHOW INITCAP('the soap')  
The Soap