Parse Strings Using Delimiters

These two functions parse a string or cell array of strings based on one or more delimiters.
1.7K Downloads
Updated 23 Jan 2008

View License

These two functions parse a string (character array) or cell array of strings based on one or more delimiters. I designed it as a replacement for strtok.m because it did not meet my expectations or requirements as a string parsing function. These functions no doubt require further enhancement and refinement so any suggestions you might have would be welcome.

Cite As

Jeff Jackson (2024). Parse Strings Using Delimiters (https://www.mathworks.com/matlabcentral/fileexchange/17999-parse-strings-using-delimiters), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2006b
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

I updated the code based on the comments given. Thanks again Jos.