PhixFlow Help

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

« Previous Version 3 Current »

Function: padRight()

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

Syntax

padRight(string, length, [character])

ArgumentTypeDescription
stringStringThe string to be padded.
lengthIntegerThe length the string needs to be, including padded characters.
characterStringPadding character to be used.

Examples

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

if in.Site = 1, padRight() returns '10'.

See Also

  • No labels