bob has a string s which contains