Padding String function

The Padding String function returns a padding string of the specified length and characters. Padding strings are used in alignment functions.

Parameter: number

The total length to make the padding string. This can come from a source node, the result of another function, or a value you specify.

Parameter: [string]

One or more characters to use to build the padding string. If you use multiple characters and the length of the padding string is not an even multiple, these characters are truncated at the end of the string to fit the overall length. This can come from a source node, the result of another function, or a value you specify. If you omit this parameter, it defaults to the space character.

Returns: string

The string to use for padding.




Feedback | Notices


Timestamp icon Last updated: Wednesday, February 17, 2016


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