Skip to main content

This version of the product is no longer supported, and this documentation is no longer updated regularly. See the latest version of this content.Opens in a new tab

Space

Returns a string consisting of the specified number of spaces.

Synopsis

Space(number)

Arguments

The number argument is the number of spaces you want in the string.

Examples

The following example uses the Space function to return a string consisting of a specified number of spaces:

Dim MyString
MyString = Space(10)   ' Defines a string of 10 spaces.
Println "Hello" & MyString & "World" 
                       ' Insert 10 spaces between two strings.

See Also

FeedbackOpens in a new tab