Space()

Top  Previous  Next

Space() - Creates a string with the specified number of spaces

Description

The Space() function creates a string including the specified number of spaces.

Space(numspaces)

Example

MyString = Space(5) 'returns '     '

 

MyString = "1" & Space(3) & "2" 'returns '1   2'