Links
EControl Syntax Editor SDK
TecDictionaryWords.CompareStr Method

Compares two strings.

function CompareStr(const S1: ecString; const S2: ecString): integer;

CompareStr method compares two strings. 

If the string pointed to by the S1 parameter is less in lexical value than the string pointed to by the S2 parameter the method returns a negative value. 

If the string pointed to by S1 parameter is equal in lexical value to the string pointed to by S2 parameter the method returns zero. 

If the string pointed to by the S1 parameter is greater in lexical value than the string pointed to by the S2 parameter the method returns a positive value.

Copyright (c) 2004-2011. All rights reserved.
What do you think about this topic? Send feedback!