Makes `StringEqual()` more safe by always compares lengths.