Mercurial > hg > octave-lyh
diff scripts/strings/strmatch.m @ 11469:c776f063fefe
Overhaul m-script files to use common variable name between code and documentation.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Sun, 09 Jan 2011 12:41:21 -0800 |
parents | 7bb759d617e2 |
children | 1740012184f9 |
line wrap: on
line diff
--- a/scripts/strings/strmatch.m +++ b/scripts/strings/strmatch.m @@ -19,11 +19,11 @@ ## <http://www.gnu.org/licenses/>. ## -*- texinfo -*- -## @deftypefn {Function File} {} strmatch (@var{s}, @var{a}, "exact") -## Return indices of entries of @var{a} that match the string @var{s}. -## The second argument @var{a} may be a string matrix or a cell array of +## @deftypefn {Function File} {} strmatch (@var{s}, @var{A}, "exact") +## Return indices of entries of @var{A} that match the string @var{s}. +## The second argument @var{A} may be a string matrix or a cell array of ## strings. If the third argument @code{"exact"} is not given, then -## @var{s} only needs to match @var{a} up to the length of @var{s}. +## @var{s} only needs to match @var{A} up to the length of @var{s}. ## Trailing whitespace is ignored. ## Results are returned as a column vector. ## For example: