No BSD License  

Highlights from
str2strs.m

5.0

5.0 | 1 rating Rate this file 3 Downloads (last 30 days) File Size: 1.1 KB File ID: #242

str2strs.m

by David Malicky

 

11 May 1998

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

| Watch this File

File Information
Description

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.

Acknowledgements
This submission has inspired the following:
rsplit
MATLAB release MATLAB 5.2 (R10)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
21 Aug 2006 V L  
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
strings David Malicky 22 Oct 2008 06:34:27
string David Malicky 22 Oct 2008 06:34:27
break David Malicky 22 Oct 2008 06:34:27
split David Malicky 22 Oct 2008 06:34:27
cell David Malicky 22 Oct 2008 06:34:27
array David Malicky 22 Oct 2008 06:34:27

Contact us at files@mathworks.com