str2strs.m
3.3K Downloads
Updated 11 May 1998
No License
This function takes a deliminated string s and breaks it up into sub-strings stored in a cell-array of strings. Spaces in the string are converted to underscore characters. It is currently set-up for tab delimination though may be modified for another character. Any length string, of any number of elements, of any length elements are ok as input. The char function can then be used to recover the individual elements of the cell-array output.
Tested with the Student version of Matlab 5.
Cite As
David Malicky (2023). str2strs.m (https://www.mathworks.com/matlabcentral/fileexchange/242-str2strs-m), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired: rsplit
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |