Click or drag to resize

MBLTrim Function

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

Namespace:  XSharp.VO
Assembly:  XSharp.VO (in XSharp.VO.dll) Version: 2.21
Syntax
 FUNCTION MBLTrim(
	cMBString AS STRING
) AS STRING
Request Example View Source

Parameters

cMBString
Type: String
The string to trim.

Return Value

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