objective c compare strings code example Example: how to compare strings in c if (strcmp(strA,strB) != 0){ ... }