splitstring

Split a string into a cell array by specifying a delimiter.
1.2K Downloads
Updated 2 Mar 2012

View License

Split a string into a cell array by specifying a delimiter. Empty entries can be excluded if specified. Space delimiter is assumed if none is specified.
Ex:
arr = splitstring( 'a,b,c,d', ',' )

Cite As

Ivar Eskerud Smith (2024). splitstring (https://www.mathworks.com/matlabcentral/fileexchange/35418-splitstring), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011b
Compatible with any release
Platform Compatibility
Windows macOS Linux

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