stringArrayLength(S​)

This function returns the length of string(s) in a single string or a cellarray or a matrix.

Download
Download

You are now following this Submission

Cite As

Sugato (2026). stringArrayLength(S) (https://se.mathworks.com/matlabcentral/fileexchange/64096-stringarraylength-s), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
2.0.0

Updated the code for a better and faster alternative suggested by Jan Simmon.

Download
1.0.0

Updated description.

Download