str2strs.m

Takes a deliminated string s and breaks it up into sub-strings stored in a cell-array of strings.

Vous suivez désormais cette soumission

This function takes a deliminated string s and breaks it up into sub-strings stored in a cell-array of strings. Spaces in the string are converted to underscore characters. It is currently set-up for tab delimination though may be modified for another character. Any length string, of any number of elements, of any length elements are ok as input. The char function can then be used to recover the individual elements of the cell-array output.

Tested with the Student version of Matlab 5.

Citation pour cette source

David Malicky (2026). str2strs.m (https://fr.mathworks.com/matlabcentral/fileexchange/242-str2strs-m), MATLAB Central File Exchange. Extrait(e) le .

Remerciements

A inspiré : rsplit

Add the first tag.

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.0.0.0