LenC Function | |
Returns the number of characters in a character expression or memo field.
Namespace:
XSharp.VFP
Assembly:
XSharp.VFP (in XSharp.VFP.dll) Version: 2.21
Syntax FUNCTION LenC(
cExpression AS STRING
) AS DWORD
public static uint LenC(
string cExpression
)
Request Example
View SourceParameters
- cExpression
- Type: String
Specifies the character expression for which LenC( ) returns the number of characters.
Return Value
Type:
DWord
Numeric
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