filmov
tv
AμCP-MicroBeaut: Arduino - String Compare Function

Показать описание
The pointer indirection operator * can be used to access the contents at the location pointed to by the pointer variable. The example converts String* to an unsigned char* or byte*. The comparison compares two specified String and returns an integer,
String1 greater than String2: Return 1
String1 equal to String2: Return 0
String1 less than String2: Return -1
String1 greater than String2: Return 1
String1 equal to String2: Return 0
String1 less than String2: Return -1