SPACE


Creates a string of a given length filled with spaces (" ")

Syntax:
Usage:
result = Space[$]( count )

Parameters:
count
An integer type specifying the length of the string to be created.

Return Value:
The created string. An empty string will be returned if count <= 0.

Description:
Space creates a string with the specified number of spaces.

Examples:
Dim a As String
a = "x" + Space(3) + "x"
Print a ' prints: x   x


Dialect Differences:
Differences from QB:
See also:
Back to String Functions
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki



sf.net phatcode