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 (2026). splitstring (https://in.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
Version Published Release Notes
1.0.0.0