Core Function PadLeft

From Sputnik Wiki
(Difference between revisions)
Jump to: navigation, search
UberFoX (Talk | contribs)
(Created page with "<pre> PadLeft( <expression>, <pad>, <count> ) </pre> === Description === Pad the left of a string a given number of times with another string. === Parameters === ==== express...")
Newer edit →

Revision as of 12:41, 3 December 2011

PadLeft( <expression>, <pad>, <count> )

Contents

Description

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

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