Click or drag to resize

PadL Function <USUAL, Int32, String>

Pad values with fill characters on the left.

Namespace:  XSharp.RT
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.0
Syntax
 FUNCTION PadL(
	uValue AS USUAL,
	nLength AS LONG,
	cPad AS STRING := ""
) AS STRING

Parameters

uValue
Type: USUAL
Value to pad
nLength
Type: Int32
Length of result string.
cPad (Optional)
Type: String
Pad character to use. Defaults to the space character.

Return Value

Type: String
The string padded to the requested length. When the value is longer than the requested length then the string will be truncated to that length.
See Also