Please note, this is a STATIC archive of website www.w3schools.com from 05 May 2020, cach3.com does not collect or store any user information, there is no "phishing" involved.
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