Replace values in string with elements in array as per index

前端 未结 0 337
走了就别回头了
走了就别回头了 2020-12-18 17:10

I have a string "${0} AND ${1} OR ${2}" and an array [\'a\',\'b\',\'c\'] and i want the result to be "a AND b OR c". I am using TS along with postgress.

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