YouTip LogoYouTip

Func Space

VBScript Space Function

VBScript Space Function

--

VBScript Tutorial

VBScript Examples VBScript Keywords

In-depth Exploration

  • Scripting Languages
  • Computer
  • Network Services
  • Web Service
  • Software
  • Programming Languages
  • Computer
  • Programming
  • Network Design and Development
  • Script

VBScript Space Function


Image 3: VBScript Reference Manual Complete VBScript Reference Manual


The Space function returns a string consisting of a specified number of spaces.

Syntax

Space(number)
Parameter Description
number Required. The number of spaces in the string.

Example 1

Dim txt

txt=Space(10)

document.write(txt)

Output:

" "


Image 4: VBScript Reference Manual Complete VBScript Reference Manual

← Func StrcompFunc Right β†’