次の方法で共有


PROPER( ) Function

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

PROPER(cExpression)

Parameters

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

Return Value

Character

Example

STORE 'Visual FoxPro' TO gcExpr1

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

See Also

Reference

LOWER( ) Function

UPPER( ) Function

Creating Character Expressions

Other Resources

Functions