Previous Topic: SORT Function--Sort a Set

Next Topic: STRING Function--Convert to a String

SPACE Function--Return a String of Spaces

The SPACE function returns a string that consists of the specified number of spaces.

Syntax

The SPACE function has the following format:

SPACE(repeat_count)

Parameters

The SPACE function accepts the following parameters:

repeat_count (number)

The number of spaces to include in the string.

Return Value

The SPACE function returns a string.

Example

Return_value=SPACE(3) Return_value='   '

Return_value=SPACE(10) Return_value="          "


Copyright © 2010 CA. All rights reserved. Email CA about this topic