string.dispstrings
string: cstr = dispstrings (str)
Get display formatted strings for each element of a string object.
cstr = dispstrings (str) returns a cellstr array of
character vectors, cstr, which has the same size as the input
string object, str. These character vectors will either be the
string contents of each corresponding element or <missing> for
missing values.
Composed string elements, i.e. double quoted strings, are translated so that any special characters are represented by their corresponding escaped character sequence, unless the input string, str, is a scalar, in which case text retains its original composition but newlines are prepadded with four white space characters for aligned display.
Source Code: string