Navigation

Operators and Keywords

Function List:

C++ API

split.m File Reference


Functions

 if (!warned) warned
 warning ("Octave:deprecated-function","split is obsolete and will be removed from a future version of Octave; please use strsplit instead")
endif if (nargin==2||nargin==3) if(nargin
endif if (ischar(s)&&ischar(t)) l_s
 if (l_s==0) m
 elseif (l_t==0) m = find (s == t, 1, direction)

Variables

function m
 l_t = length (t)
 return
elseif(l_s< l_t) error("split road
 to
 hell

Function Documentation

elseif ( l_t  = =0  )  = find (s == t, 1, direction)

if ( l_s  = =0  ) 

endif if ( ischar(s)&&ischar(t)   ) 

endif if ( nargin  = =2||nargin==3  ) 

if ( warned  ) 

warning ( "Octave:deprecated-function ,
"split is obsolete and will be removed from a future version of Octave; please use strsplit instead"   
)


Variable Documentation

l_t = length (t)

Initial value:

 split (s, t, n)

  persistent warned = false

return

elseif (l_s < l_t) error ("split road

to