SPACES Function

Replaces numeric values in the elements of a dynamic array with blank spaces.

Syntax

SPACES(dynArray)

Syntax Elements

dynArray A DataBasic expression that evaluates to a dynamic array.

Return Value

A dynamic array with the same structure as dynArray, but with each integer element replaced by that number of blank spaces.

Example

ARY = 2:@VM:"5":@VM:3.9:@AM:"":@VM:@VM:"Status Quo"
NEWARY = SPACES(ARY)

Sets NEWARY to "  VM     VM AM VM VM".