Justifies text to the left or right side of a field. For example, if you need to print out prices in a list, you probably want them exactly aligned at one side.
pad()
has two parameters. The first specifies the source string to be processed. The second defines the field width as a positive or negative number of characters.
pad( <source string>, <padding value> )
<ISPRINT value = "#pad(Product:Price,-10)#"> // returned string: " 5.00 EUR"
source string
source string = String
The string to be processed is a required parameter.
padding value
padding value = Integer
The padding value is a required parameter.
Either a negative or positive integer value. A positive number produces left-aligned text, a negative number right-aligned text (see example above). If the source string is longer than the padding value, the output string is truncated on the right.