Space, Space$ (functions)

Syntax Space[$] (NumSpaces)
Description Returns a string containing the specified number of spaces.
Comments Space$ returns a String , whereas Space returns a String variant. NumSpaces is an Integer between 0 and 32767.
Example This example returns a string of ten spaces and displays it.
Sub Main()
  ln$ = Space(10)
  MsgBox "Hello" & ln$ & "over there."
End Sub
See Also String, String$ (functions); Spc (function).