Click or drag to resize

Functions.NTrim Method

Convert a numeric expression to a left-trimmed string.

Namespace:  XSharp.RT
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.07
Syntax
 FUNCTION NTrim(
	n AS USUAL
) AS STRING
View Source

Parameters

n
Type: __Usual
A Usual with a numeric or date value

Return Value

Type: String
NTrim() returns the same value as LTrim(Str(nNum)). Thus, any conversion rules that apply to the Str() function also apply to the NTrim() function.
Examples
? NTrim(234) // "234"
? LTrim(Str(234)) // "234"
? Str(234) // " 234"
See Also