W_UPPER Function

Syntax

Output_String as C = W_UPPER(C character)

Arguments

character

A character string.

Description

Capitalizes the first character of each word in a character string.

Discussion

Capitalizes the first character of each word in the supplied character string. W_UPPER() does not change the case of any other characters.

Example

? w_upper("delta alpha gamma")
= "Delta Alpha Gamma"
dim wrd as c = "DELTA GAMMA ALPHA"
? w_upper( lower (wrd) )
= "Delta Gamma Alpha"

See Also