Returns the number of characters in a character expression or memo field.
XSharp.VFP (in XSharp.VFP.dll) Version: 2.17
Syntax Request Example
cExpression AS STRING
) AS DWORD
public static uint LenC(
- Type: String
Specifies the character expression for which LenC( ) returns the number of characters.
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.