comparison src/strfns.cc @ 10846:a4f482e66b65

Grammarcheck more of the documentation. Use @noindent macro appropriately. Limit line length to 80 characters.
author Rik <octave@nomad.inbox5.com>
date Sun, 01 Aug 2010 20:22:17 -0700
parents 89f4d7e294cc
children 0d9640d755b1
comparison
equal deleted inserted replaced
10845:c0ffe159ba1a 10846:a4f482e66b65
55 \n\ 55 \n\
56 For numerical input, each element is converted\n\ 56 For numerical input, each element is converted\n\
57 to the corresponding ASCII character. A range error results if an input\n\ 57 to the corresponding ASCII character. A range error results if an input\n\
58 is outside the ASCII range (0-255).\n\ 58 is outside the ASCII range (0-255).\n\
59 \n\ 59 \n\
60 For cell arrays, each element is concatenated separately. Cell arrays converted\n\ 60 For cell arrays, each element is concatenated separately. Cell arrays\n\
61 through\n\ 61 converted through\n\
62 @code{char} can mostly be converted back with @code{cellstr}.\n\ 62 @code{char} can mostly be converted back with @code{cellstr}.\n\
63 For example,\n\ 63 For example:\n\
64 \n\ 64 \n\
65 @example\n\ 65 @example\n\
66 @group\n\ 66 @group\n\
67 char ([97, 98, 99], \"\", @{\"98\", \"99\", 100@}, \"str1\", [\"ha\", \"lf\"])\n\ 67 char ([97, 98, 99], \"\", @{\"98\", \"99\", 100@}, \"str1\", [\"ha\", \"lf\"])\n\
68 @result{} [\"abc \"\n\ 68 @result{} [\"abc \"\n\
179 \n\ 179 \n\
180 For numerical input, each element is converted\n\ 180 For numerical input, each element is converted\n\
181 to the corresponding ASCII character. A range error results if an input\n\ 181 to the corresponding ASCII character. A range error results if an input\n\
182 is outside the ASCII range (0-255).\n\ 182 is outside the ASCII range (0-255).\n\
183 \n\ 183 \n\
184 For cell arrays, each element is concatenated separately. Cell arrays converted\n\ 184 For cell arrays, each element is concatenated separately. Cell arrays\n\
185 through\n\ 185 converted through\n\
186 @code{strvcat} can mostly be converted back with @code{cellstr}.\n\ 186 @code{strvcat} can mostly be converted back with @code{cellstr}.\n\
187 For example,\n\ 187 For example:\n\
188 \n\ 188 \n\
189 @example\n\ 189 @example\n\
190 @group\n\ 190 @group\n\
191 strvcat ([97, 98, 99], \"\", @{\"98\", \"99\", 100@}, \"str1\", [\"ha\", \"lf\"])\n\ 191 strvcat ([97, 98, 99], \"\", @{\"98\", \"99\", 100@}, \"str1\", [\"ha\", \"lf\"])\n\
192 @result{} [\"abc \"\n\ 192 @result{} [\"abc \"\n\
789 } 789 }
790 790
791 DEFUNX ("strncmpi", Fstrncmpi, args, , 791 DEFUNX ("strncmpi", Fstrncmpi, args, ,
792 "-*- texinfo -*-\n\ 792 "-*- texinfo -*-\n\
793 @deftypefn {Built-in Function} {} strncmpi (@var{s1}, @var{s2}, @var{n})\n\ 793 @deftypefn {Built-in Function} {} strncmpi (@var{s1}, @var{s2}, @var{n})\n\
794 Returns 1 if the first @var{n} character of @var{s1} and @var{s2} are the same,\n\ 794 Returns 1 if the first @var{n} character of @var{s1} and @var{s2} are the\n\
795 disregarding case of alphabetic characters, and 0 otherwise.\n\ 795 same, disregarding case of alphabetic characters, and 0 otherwise.\n\
796 \n\ 796 \n\
797 If either @var{s1} or @var{s2} is a cell array of strings, then an array\n\ 797 If either @var{s1} or @var{s2} is a cell array of strings, then an array\n\
798 of the same size is returned, containing the values described above for\n\ 798 of the same size is returned, containing the values described above for\n\
799 every member of the cell array. The other argument may also be a cell\n\ 799 every member of the cell array. The other argument may also be a cell\n\
800 array of strings (of the same size or with only one element), char matrix\n\ 800 array of strings (of the same size or with only one element), char matrix\n\