次の方法で共有


LENC( ) Function

Returns the number of characters in a character expression or memo field.

LENC(cExpression)

Return Values

Numeric

Parameters

  • cExpression
    Specifies the character expression for which LENC( ) returns the number of characters.

Remarks

LENC( ) is designed for expressions containing double-byte characters. If the expression contains only single-byte characters, LENC( ) is equivalent to LEN( ).

LENC( ) returns the number of characters in a character expression or memo field containing any combination of single-byte and double-byte characters.

This function is useful for manipulating double-byte character sets for languages such as Hiragana and Katakana.

See Also

LEN( ) | Application Creation with Double-Byte Character Sets | FSIZE( ) | TXTWIDTH( )