Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Function: padLeft()

Left pad a string to the given length with spaces (or character if provided).

Syntax

padLeft(string, length, [character])

Argument Type Description
string String The string to be padded.
length Integer The length the string needs to be, including padded characters.
character String Padding character to be used.

Examples

padLeft(toString(in.Site),2,'0')

if in.Site = 1, padLeft() returns '01'.

See Also

  • No labels