% Replace containsString method