Click or drag to resize

MBRTrim Function

X#
Remove trailing spaces — including double-byte spaces — from a string.

Namespace:  XSharp.VO
Assembly:  XSharp.VO (in XSharp.VO.dll) Version: 2.19
Syntax
 FUNCTION MBRTrim(
	cMbString AS STRING
) AS STRING
Request Example View Source

Parameters

cMbString
Type: String

Return Value

Type: String
cMBString with the trailing spaces removed.
If cMBString is a NULL_STRING or all spaces, MBRTrim() returns a NULL_STRING.
Remarks
This function is like RTrim() except that it handles strings containing double-byte characters.
Remarks
Tip Tip
This function is the same as RTrim() since .Net has unicode strings
Examples