Fixed string comparison method