Space Function

Returns a string containing the specified number of blank spaces.

Syntax

Space (spaces)

spaces specifies the number of spaces in the string. If spaces is a null value, it generates a runtime error.

Example

This is an example of the Space function used to generate a string with a variable number of spaces:

MyStr = Space(20 - Len(Arg1)):Arg1 
* pad with spaces on left