VBScript Space function
Space function returns a string consisting of a specified number of spaces.
grammar
Space(number)
参数 | 描述 |
---|---|
number | 必需。字符串中的空格数量。 |
Example 1
Dim txt
txt=Space(10)
document.write(txt)
Output:
" "
txt=Space(10)
document.write(txt)
Output:
" "
Complete VBScript Reference