Saturday, August 14, 2010

Visual Basic String Function : Space

Purpose : The Space function returns a string containing the specified number of spaces.

Syntax :
Space ( lngNumSpaces )

lngNumSpaces : Number of spaces in the returned string

Dim strString as String
strString = Space ( 5 )

strString give the value of " " (five space)

No comments:

Post a Comment