I have a string which looks like this: (id:561644cdb40fbe0100247dd7:q) (id:56165d8a79c8c40100adbdb6:q) and I need to replace the different id's with different values. I already have the id's in a variable and trying to loop through with something like this var mailId = "(id:" + rplcId + ":q)"; But If I use the replace() function it doesnt work...Any other suggestions?
-
4Show what you have coded, what progress you made and what error you got, instead of just saying "doesn't work".Passerby– Passerby2015-10-15 08:37:31 +00:00Commented Oct 15, 2015 at 8:37
Add a comment
|