VBScript Space Function
Definition and Usage
The Space function can return a string composed of a specified number of spaces.
Syntax
Space(number)
Parameter | Description |
---|---|
number | Required. The number of spaces in the string. |
Instance
Example 1
dim txt txt=Space(10) document.write(txt)
Output:
" "