Mercurial > hg > octave-nkf
comparison scripts/strings/findstr.m @ 5428:2a16423e4aa0
[project @ 2005-08-23 18:38:27 by jwe]
author | jwe |
---|---|
date | Tue, 23 Aug 2005 18:38:28 +0000 |
parents | c7e3cf2fce3e |
children | 34f96dd5441b |
comparison
equal
deleted
inserted
replaced
5427:a92afe70fb8d | 5428:2a16423e4aa0 |
---|---|
33 ## @end deftypefn | 33 ## @end deftypefn |
34 | 34 |
35 ## Note that this implementation swaps the strings if second one is longer | 35 ## Note that this implementation swaps the strings if second one is longer |
36 ## than the first, so try to put the longer one first. | 36 ## than the first, so try to put the longer one first. |
37 ## | 37 ## |
38 ## Author: Kurt Hornik <Kurt.Hornik@ci.tuwien.ac.at> | 38 ## Author: Kurt Hornik <Kurt.Hornik@wu-wien.ac.at> |
39 ## Adapted-By: jwe | 39 ## Adapted-By: jwe |
40 | 40 |
41 function v = findstr (s, t, overlap) | 41 function v = findstr (s, t, overlap) |
42 | 42 |
43 if (nargin < 2 || nargin > 3) | 43 if (nargin < 2 || nargin > 3) |