Parse Strings Using Delimiters
Version 1.0.0.0 (4.14 KB) by
Jeff Jackson
These two functions parse a string or cell array of strings based on one or more delimiters.
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 (2026). 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 LinuxCategories
Find more on String Parsing in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 | I updated the code based on the comments given. Thanks again Jos. |
