X-Git-Url: http://gitweb.scilab.org/?p=scilab.git;a=blobdiff_plain;f=scilab%2Fmodules%2Fstring%2Fhelp%2Fen_US%2Fstrcmp.xml;h=14945e63ca344c4299aeeae56fbe58f2ce82f476;hp=c2700050b218a3fbc597588ba90c9dd3de0182da;hb=2446e4ec29c5b7502ff286a9173fdb9463d4292c;hpb=8e738ae7e5c2555da824e033efcbed0e5588e909 diff --git a/scilab/modules/string/help/en_US/strcmp.xml b/scilab/modules/string/help/en_US/strcmp.xml index c270005..14945e6 100644 --- a/scilab/modules/string/help/en_US/strcmp.xml +++ b/scilab/modules/string/help/en_US/strcmp.xml @@ -1,65 +1,87 @@ - + eng + strcmp + Scilab Function - \$LastChangedDate: 2006-08-08 16:57:13 +0200 (Tue, 08 Aug 2006) \$ - compare character strings + + \$LastChangedDate: 2006-08-08 16:57:13 +0200 (Tue, 08 Aug 2006)\$ + + compare character + strings + - res = strcmp(str1,str2,[,'i']) + res = + strcmp(string_one,string_two,[,'i']) + - str1 + string_one + : string or matrix of strings - + - str2 + string_two + : string or matrix of strings - + 'i' + : parameter to do stricmp, default value is 's' + res + : matrix. + -

res = strcmp(str1,str2) returns an integral value indicating the relationship between the strings.

-

A value greater than zero indicates that the first character that does not match has a greater value in str1 than in str2

+

res = strcmp(string_one,string_two) returns an integral + value indicating the relationship between the strings.

+ +

A value greater than zero indicates that the first character that does + not match has a greater value in string_one than in + string_two

+

And a value less than zero indicates the opposite.

- - - + + ]]> + strcat + strcmpi -
+ \ No newline at end of file