Using C#, what's the most efficient way to accomplish this?
string one = "(999) 999-9999";
string two = "2221239876";
// combine these into result
result = "(222) 123-9876"
String one will always have 9's.
I'm thinking some kind of foreach on string one and when it sees a 9, replace it with the next character in string two. Not quite sure where to go from there though...