Core Function PadLeft

From Sputnik Wiki
Revision as of 12:37, 14 June 2015 by UberFoX (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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