|
|
| File Information |
| Description |
%******************************************************************************
% function stok
% Purpose: Find the addresses of tokens in the strings
% Input:
% str - character string to be searched for tokens
% delim - character string holding the token delimiters
% maxtok - maximum allowed number of tokens
% Output:
% strtok - return the number of tokens in the string
% istart - integer array holding the token starting positions in str
% iend - integer array holding the token ending positions in str
% Usage example:
% str='ab;cd de=0'; delim='; ='; [istart, iend] = stok(str, '; =')
% istart =
% 1 4 7 10
% iend =
% 2 5 8 10
% str(istart(1):iend(1))
% ans =
% ab |
| MATLAB release |
MATLAB 6.0 (R12)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (8) |
| 25 Oct 2006 |
Jos x@y.z
|
|
|
| 25 Oct 2006 |
Jos x@y.z
|
|
|
| 25 Oct 2006 |
urs (us) schwarz
|
|
|
| 25 Oct 2006 |
urs (us) schwarz
|
|
|
| 26 Oct 2006 |
Jos x@y.z
|
|
|
| 26 Oct 2006 |
Michael Yoshpe
|
|
|
| 26 Oct 2006 |
Jos x@y.z
|
|
|
| 30 Oct 2006 |
Jérôme Briot
|
|
|
|
Contact us at files@mathworks.com