if (str->eq (string)) ...                        if (chars->eq (string)) ...

if (str->eq (chars)) ...                         if (chars->eq (chars_2)) ...

if (str->eq (chars, length)) ...                 if (chars->eq (chars_2, length)) ...

                                                 if (chars->eq (chars_2, length, length_2)) ...