Align Left function

The Align Left function places a string within a padding string starting from the left-most character.

Parameter: string1

The string to be aligned. This can come from a source node, the result of another function, or a value you specify.

Parameter: string2

A padding string. This string must be long enough to create a result and must contain the character or characters to use for padding. This can come from a source node, the result of another function, or a value that you specify. You can use the Padding String function to produce a padding string.

Returns: string

The padded and left-aligned string.

Example: align-left(‘widgets','----------') = 'widgets---'

Example:

align-center(‘widgets','----------') = '-widgets--'