Function Contains for the String library