I am having Two Strings:string1 and string2. String1 contains only "ball", string2 contains "ball,fruit,doll".
Now i need to compare the string1 and string2, ball is in both the strings or not? and i need to remove the ball after comparing the strings. How to acheive this?