Use starts_with() for C strings instead of memcmp()