Search DaTutorials:  
HOME
VB Script Tutorials
Introduction
Reference
Tutorials

Space Function

Returns a string consisting of the specified number of spaces.

Space(number)

The number argument is the number of spaces you want in the string.

Remarks

The following example uses the Space function to return a string consisting of a specified number of spaces:

Dim MyString
MyString = Space(10)   ' Returns a string with 10 spaces.
MyString = "Hello" & Space(10) & "World" ' Insert 10 spaces between two strings.

Requirements

Version 1

See Also

String Function


     Car Finance | Credit Card Debt Consolidation | Best Credit Cards | Credit Counseling | Payday Loans
Home     Link To Us     Ad With Us     Contact Us     Tell A Friend     Affiliates     Blog     MsOfficeHelp