MBRight Function | |
Return a substring beginning with the last character of a string containing double-byte characters.
Namespace:
XSharp.VO
Assembly:
XSharp.VO (in XSharp.VO.dll) Version: 2.21
Syntax FUNCTION MBRight(
cMbString AS STRING,
wCount AS DWORD
) AS STRING
public static string MBRight(
string cMbString,
uint wCount
)
Request Example
View SourceParameters
- cMbString
- Type: String
- wCount
- Type: DWord
The number of characters to extract.
Return Value
Type:
String
The rightmost
wCount characters of
cMBString — each double-byte character counts as one character.
If
wCount is zero, MBRight() returns a NULL_STRING.
If
wCount is larger than the length of the string, MBRight() returns
cMBString.
Remarks
This function is like Right() except that it handles strings containing double-byte characters.
Remarks Tip |
---|
This function is the same as Right() since .Net has unicode strings |
Examples See Also