April 2002
Intermediate to advanced
688 pages
19h 51m
English
Space Function
Microsoft.VisualBasic.Strings
Space(number)number (required; Integer)An expression evaluating to the number of spaces required
A String containing number spaces
Creates a string containing number spaces
While number can be zero (in which case
the function returns the empty string), runtime error 5,
“Invalid procedure call or
argument,” is generated if
number is negative.
The Space function is most useful for creating a string buffer, an area where an external function can write data to be returned to the calling program.
Read now
Unlock full access