If i have

s1[]={"I love bangalore"};
s2[]={"I think bangalore love me and i may love him"};

i need replace each word in s2 which is in s1 with a sufix say-x

such that

s2 shud become

I-x think bangalore-x love-x me and x may love-x him.

and count the number of times those three word occur in s2.