Core Function PadLeft

From Sputnik Wiki
Jump to: navigation, search
PadLeft( <expression>, <pad>, <count> )

Contents

Description

Pad the left of a string a given number of times with a char.

Parameters

expression

The string to use.

pad =

The char to pad with.

count =

The amount of times to pad it.

Return Value

Returns new padded string.

Remarks

None.

Example

$text = PadLeft("Test", "#", 10);
MsgBox($text);
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox