Added tentative feature to check if string contains value being searched for