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--'




Feedback | Notices


Timestamp icon Last updated: Wednesday, 15 June 2016


http://pic.dhe.ibm.com/infocenter/wci/v7r0m0/topic/com.ibm.wci.doc/ref_Align_Left.html