Partager via


PROPER( ) Function

Returns from a character expression a string capitalized as appropriate for proper names.

PROPER(cExpression)

Return Values

Character

Parameters

  • cExpression
    Specifies the character expression from which PROPER( ) returns a capitalized character string.

Example

STORE 'Visual FoxPro' TO gcExpr1

CLEAR 
? PROPER(gcExpr1)  && Displays "Visual Foxpro"
STORE 'VISUAL FOXPRO' TO gcExpr2
? PROPER(gcExpr2)  && Displays "Visual Foxpro"

See Also

LOWER( ) | UPPER( ) | Character Expression Creation