replace a specific character in a string using string index

前端 未结 0 900
有刺的猬
有刺的猬 2021-01-15 11:15

Ive tried using .replace() but when I use an index to define the character being replaced, it replaces all of the characters that are the same as the one being indexed as sh

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