Core Function PadLeft

From Sputnik Wiki
(Difference between revisions)
Jump to: navigation, search
(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...")
 
Line 5: Line 5:
 
=== Description ===
 
=== Description ===
  
Pad the left of a string a given number of times with another string.
+
Pad the left of a string a given number of times with a char.
  
 
=== Parameters ===
 
=== Parameters ===

Revision as of 12:42, 3 December 2011

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