Skip to main content

This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRISOpens in a new window, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions pageOpens in a new window (login required).


Returns a string consisting of the specified number of spaces.




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


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.
Copy code to clipboard

See Also

FeedbackOpens in a new window