Method Reference: string.ndims

string: out = ndims (str)

Number of dimensions in a string array.

out = ndims (str) returns the number of dimensions of the string array D.

Source Code: string