Fixed string comparison using equals