String class

Equality operators (String)

// EXAMPLE
String s1 = "test1";
String s2 = "test2";
if (s1 == s2) {
  Log.info("they are equal");
}


// PROTOTYPES
unsigned char operator == (const String &rhs) const;
unsigned char operator == (const char *cstr) const;
unsigned char operator != (const String &rhs) const;
unsigned char operator != (const char *cstr) const;

In addition to the equals method, the class also supports the equility operator, ==.