MBLen Function | |
Return the length of a string containing double-byte characters or an array.
Namespace:
XSharp.VO
Assembly:
XSharp.VO (in XSharp.VO.dll) Version: 2.21
Syntax FUNCTION MBLen(
uMBValue AS STRING
) AS DWORD
public static uint MBLen(
string uMBValue
)
Request Example
View SourceParameters
- uMBValue
- Type: String
The string or array to measure. In a string, each single-byte character counts as one, including an embedded null character (Chr(0)). Double-byte characters also count as one.
A NULL_STRING counts as zero. In an array, each element counts as one.
Return Value
Type:
DWord
The length of
uMBValue in which each double-byte character counts as one character.
Remarks
This function is like Len() except that it handles strings containing double-byte characters.
Remarks Tip |
---|
This function is the same as SLen() since .Net has unicode strings |
Examples See Also