Parse Strings Using Delimiters

These two functions parse a string or cell array of strings based on one or more delimiters.

You are now following this Submission

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://ch.mathworks.com/matlabcentral/fileexchange/17999-parse-strings-using-delimiters), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0

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