How would I have string be an array of strings in this example?
|
How would I have string be an array of strings in this example?: var string = "highlight this"; var message = "please highlight this"; var rg = new RegExp('('+string+')', 'g'); message = message.replace(rg, '$1');
|
Replies:
No Replies Yet! Be the first?





















