STRARR

The STRARR function returns a string array containing zero-length strings.

Examples

To create S, a 20-element string vector, enter:

S = STRARR(20)

Syntax

Result = STRARR(D1[, ..., D8])

Return Value

The result is a string array of the specified dimensions.

Arguments

Di

Either an array or a series of scalar expressions specifying the dimensions of the result. If a single argument is specified, it can be either a scalar expression or an array of up to eight elements. If multiple arguments are specified, they must all be scalar expressions. Up to eight dimensions can be specified.

Version History

Original

Introduced

See Also

BOOLARR, BYTARR, COMPLEXARR, DBLARR, DCOMPLEXARR, FLTARR, INTARR, LON64ARR, LONARR, MAKE_ARRAY, UINTARR, ULON64ARR, ULONARR