code: public static int strcmp(char[] a, int startA, char[] b, int startB) {
          for (; a[startA] == b[startB]; startA++, startB++) {
              if (a[startA] == 0) {
                  return 0;
              }
          }
          return a[startA] - b[startB];
      }
docs: Compares 2 null terminated char arrays