Mercurial > octave-nkf
comparison src/strfns.cc @ 10234:c4c2bda71f82
fix typo in strncmpi docstring
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Mon, 01 Feb 2010 10:56:05 +0100 |
parents | cd96d29c5efa |
children | 57a59eae83cc |
comparison
equal
deleted
inserted
replaced
10233:cb7d1b220f1c | 10234:c4c2bda71f82 |
---|---|
786 icmp_char_eq ())); | 786 icmp_char_eq ())); |
787 } | 787 } |
788 | 788 |
789 DEFUN (strncmpi, args, , | 789 DEFUN (strncmpi, args, , |
790 "-*- texinfo -*-\n\ | 790 "-*- texinfo -*-\n\ |
791 @deftypefn {Built-in Function} {} strncmp (@var{s1}, @var{s2}, @var{n})\n\ | 791 @deftypefn {Built-in Function} {} strncmpi (@var{s1}, @var{s2}, @var{n})\n\ |
792 Returns 1 if the first @var{n} character of @var{s1} and @var{s2} are the same,\n\ | 792 Returns 1 if the first @var{n} character of @var{s1} and @var{s2} are the same,\n\ |
793 disregarding case of alphabetic characters, and 0 otherwise.\n\ | 793 disregarding case of alphabetic characters, and 0 otherwise.\n\ |
794 \n\ | 794 \n\ |
795 If either @var{s1} or @var{s2} is a cell array of strings, then an array\n\ | 795 If either @var{s1} or @var{s2} is a cell array of strings, then an array\n\ |
796 of the same size is returned, containing the values described above for\n\ | 796 of the same size is returned, containing the values described above for\n\ |