split

Splits a delimited string into a cell array.
5.2K Downloads
Updated 11 May 2004

No License

Splits a delimited string into a cell array. Example: split('_/', 'this_is___a_/_string/_//') returns {'this', 'is', 'a', 'string', []}.

Tested on MATLAB R12.1 and R13.

Cite As

Gerald Dalley (2024). split (https://www.mathworks.com/matlabcentral/fileexchange/4873-split), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R12.1
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Characters and Strings in Help Center and MATLAB Answers
Acknowledgements

Inspired: rsplit

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0