strlength
Length of strings in cell of strings or string array.
📝Syntax
len = strlength(ce)
📥Input Arguments
Parameter Description
ce a string, string array or cell of strings.
📤Output Arguments
Parameter Description
len a matrix of integer values: length of strings.
📄Description

strlength returns length of strings.

💡Examples
str = 'To make a mountain out of a molehill';
k = strlength(str)

A = {'Nel', 'son'; 'Toolboxes', 'Modules'}
k = strlength(A)

B = ["Nel", NaN, "son"; "is", "open", "source"];
k = strlength(B)
🔗See Also
strcmp
🕔Version History
Version Description
1.0.0 initial version
Edit this page on GitHub