I want to replace multiple occurrences of a string with values from an array depending on the index in typescript

前端 未结 0 574
后悔当初
后悔当初 2020-12-10 11:02

In case I have a string - \'I [dummy] want [dummy] My replacement array will be like [\'hey\', \'can\'] I want the resultant string to be - I hey want can

相关标签:
回答
  • 消灭零回复
提交回复
热议问题