Siebel VB Language Reference > VB Language Reference >

Space Function


This standard VB function returns a string of spaces.

Syntax

Space[$](number)

Argument
Description

number

A numeric expression indicating the number of spaces to return

Returns

A string of number spaces.

Usage

Number can be any numeric data type, but is rounded to an integer. Number must be between 0 and 32,767.

The dollar sign ($) in the function name is optional. If it is included, the return type is string. Otherwise the function returns a variant of vartype 8 (string).

Example

For an example, read Oct Function.

See Also

Spc Function
String Function

Siebel VB Language Reference