Str Function
Composes a string by repeating the input string the specified number of times.
Syntax
Str (string, repeat)
string is the string to be repeated. If string is a null value, null is returned.
repeat is the number of times to repeat string. If repeat is a negative number, an empty string is returned. If repeat is a null value, it causes a runtime error.
Example
This is an example of the Str function being used to generate a string with a variable number of spaces:
MyStr = Str("A", 20 - Len(Arg1)):Arg1
* pad with "A"s on left