SPACE

Concept Link IconSee also

Return a string composed of the specified number of spaces.

WebVue support - Yes.

Syntax

StrVal = SPACE(N);

Return type: STR.

Argument

Meaning

N

The number of spaces to return. Any numeric type.

Execution

The returned string is limited to 2,047 characters.

Example

SUB Main()

'Declare return code

DIM intCharCode as integer;

DIM strChaine as Str;

 

strChaine = SPACE(10);

PRINT("Contents of string: ",strChaine);

END SUB