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
GitHub: https://github.com/MicroBeaut
Facebook: https://www.facebook.com/PLCBasicProgramming/
Wokwi Simulate: https://wokwi.com/projects/329469350568264274
Download
0 formats
No download links available.
AμCP-MicroBeaut: Arduino - String Compare Function | NatokHD