PadList

Description

Returns a specified list lengthened using a specified pad character. Padding can be on the left or right of the original list. The resulting list is at least as long as the number of digits specified. If the original list is longer than the number of digits specified, the result is the original list.

Syntax

PadList(String, DelimChar, PadChr:String, PadLeft: Boolean, NewLength:Integer): String 

Example

PadList(1;2;3;4,;,True,3)

The return value is 001;002;003,004.