THE WORLD'S LARGEST WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML
 

VBScript Space Function


VBScript Reference 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:

"          "

VBScript Reference Complete VBScript Reference