Mercurial > octave-nkf
comparison scripts/strings/findstr.m @ 19992:e78c0514523d
restore strmatch function; backout changeset f9959972949a
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 18 Mar 2015 10:20:26 -0400 |
parents | 9fc020886ae9 |
children | df437a52bcaf |
comparison
equal
deleted
inserted
replaced
19991:55c2d33e6773 | 19992:e78c0514523d |
---|---|
33 ## @end group | 33 ## @end group |
34 ## @end example | 34 ## @end example |
35 ## | 35 ## |
36 ## @strong{Caution:} @code{findstr} is scheduled for deprecation. Use | 36 ## @strong{Caution:} @code{findstr} is scheduled for deprecation. Use |
37 ## @code{strfind} in all new code. | 37 ## @code{strfind} in all new code. |
38 ## @seealso{strfind, strcmp, strncmp, strcmpi, strncmpi, find} | 38 ## @seealso{strfind, strmatch, strcmp, strncmp, strcmpi, strncmpi, find} |
39 ## @end deftypefn | 39 ## @end deftypefn |
40 | 40 |
41 ## Note that this implementation swaps the strings if second one is longer | 41 ## Note that this implementation swaps the strings if second one is longer |
42 ## than the first, so try to put the longer one first. | 42 ## than the first, so try to put the longer one first. |
43 ## | 43 ## |