THE WORLD'S LARGEST WEB DEVELOPER SITE

VBScript Space Function


❮ Complete VBScript Reference

The Space function returns a string that consists of a specified number of spaces.

Syntax

Space(number)

Parameter Description
number Required. The number of spaces you want in the string

Example 1

Dim txt
txt=Space(10)
response.write(txt)

Output:

"          "

❮ Complete VBScript Reference