Core Function PadLeft
From Sputnik Wiki
(Difference between revisions)
(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...") |
m (1 revision) |
||
(2 intermediate revisions by one user not shown) | |||
Line 5: | Line 5: | ||
=== Description === | === Description === | ||
− | Pad the left of a string a given number of times with | + | Pad the left of a string a given number of times with a char. |
=== Parameters === | === Parameters === |
Latest revision as of 12:37, 14 June 2015
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);