strings
Array of empty strings.
Syntax
Section titled “Syntax”B = stringsB = strings(n)B = strings(m, n)B = strings(d1, d2, ...)Description
Section titled “Description”Creates an array of empty ("") strings with the given dimensions. With no arguments returns an empty string array; with one integer, an n×n square; with multiple, an N-dimensional array. Useful as a preallocated buffer when string values will be assigned in a loop.
Examples
Section titled “Examples”strings(3) % 3×3 empty stringsstrings(1, 5) % row of five empty strings