Mercurial > octave-nkf
comparison scripts/strings/rindex.m @ 10821:693e22af08ae
Grammarcheck documentation of m-files
Add newlines between @item fields for readability.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Mon, 26 Jul 2010 21:25:36 -0700 |
parents | 16f53d29049f |
children | fd0a3ac60b0e |
comparison
equal
deleted
inserted
replaced
10820:c44c786f87ba | 10821:693e22af08ae |
---|---|
19 | 19 |
20 ## -*- texinfo -*- | 20 ## -*- texinfo -*- |
21 ## @deftypefn {Function File} {} rindex (@var{s}, @var{t}) | 21 ## @deftypefn {Function File} {} rindex (@var{s}, @var{t}) |
22 ## Return the position of the last occurrence of the character string | 22 ## Return the position of the last occurrence of the character string |
23 ## @var{t} in the character string @var{s}, or 0 if no occurrence is | 23 ## @var{t} in the character string @var{s}, or 0 if no occurrence is |
24 ## found. For example, | 24 ## found. For example: |
25 ## | 25 ## |
26 ## @example | 26 ## @example |
27 ## @group | 27 ## @group |
28 ## rindex ("Teststring", "t") | 28 ## rindex ("Teststring", "t") |
29 ## @result{} 6 | 29 ## @result{} 6 |
30 ## @end group | 30 ## @end group |
31 ## @end example | 31 ## @end example |
32 ## | 32 ## |
33 ## @strong{Caution:} This function does not work for arrays of | 33 ## @strong{Caution:} This function does not work for arrays of |
34 ## character strings. | 34 ## character strings. |
35 ## @seealso{find, index} | 35 ## @seealso{find, index} |
36 ## @end deftypefn | 36 ## @end deftypefn |
37 | 37 |
38 ## Author: Kurt Hornik <Kurt.Hornik@wu-wien.ac.at> | 38 ## Author: Kurt Hornik <Kurt.Hornik@wu-wien.ac.at> |