comparison scripts/strings/strcmp.m @ 4946:48a39e2b2ab7

[project @ 2004-08-31 17:27:04 by jwe]
author jwe
date Tue, 31 Aug 2004 17:27:05 +0000
parents e556870ce8f0
children 2f2afb8635f5
comparison
equal deleted inserted replaced
4945:4bd917f8a4a7 4946:48a39e2b2ab7
19 19
20 ## -*- texinfo -*- 20 ## -*- texinfo -*-
21 ## @deftypefn {Function File} {} strcmp (@var{s1}, @var{s2}) 21 ## @deftypefn {Function File} {} strcmp (@var{s1}, @var{s2})
22 ## Compares two strings, returning 1 if they are the same, and 0 otherwise. 22 ## Compares two strings, returning 1 if they are the same, and 0 otherwise.
23 ## 23 ##
24 ## @strong{Note:} For compatibility with @sc{Matlab}, Octave's strcmp 24 ## @strong{Caution:} For compatibility with @sc{Matlab}, Octave's strcmp
25 ## function returns 1 if the strings are equal, and 0 otherwise. This is 25 ## function returns 1 if the strings are equal, and 0 otherwise. This is
26 ## just the opposite of the corresponding C library function. 26 ## just the opposite of the corresponding C library function.
27 ## @end deftypefn 27 ## @end deftypefn
28 28
29 ## Author: jwe 29 ## Author: jwe