Fixed string contains function