Click or drag to resize

MBAllTrim Function

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

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

Parameters

cMBString
Type: String
The string to trim.

Return Value

Type: String
A trimmed string, with leading and trailing spaces removed.
Remarks
This function is identical in functionality to AllTrim() except that it handles strings containing double-byte characters.
Remarks
Tip Tip
This function is the same as AllTrim() since .Net has unicode strings
Examples