Hope you can modify your question and add a few other instances.. Tim's post definitely checks out for $string1 = "asdfgf";$string2 = "asdfgasdg"; replacement since it seemed like a direct position character matching, so if there are other instances, kindly add them..
–
NonymJan 7 '12 at 16:09

@Kamini: I don't see what you're trying to accomplish. Can you give more of an explanation?
–
Tim CooperJan 7 '12 at 16:13

It is something called "Flames" - School Game. I am trying to do it. I have edited question
–
KaminiJan 7 '12 at 16:19

So you want to be able to remove multiple character(s)/string sequences from more than one input string? In your second example, how do you envision passing the s and r to the string/character-removal function, given that they're not connected? Also, if this a 'school game' that you '[are] trying to do,' what have you attempted so far and what went wrong?
–
David ThomasJan 7 '12 at 16:22

But the Flames game removes all instances of letters that are the same in each name..
–
NonymJan 7 '12 at 16:25