Split should stop splitting after first occurence in Javascript

后端 未结 0 1766
执笔经年
执笔经年 2021-01-21 01:51

I\'m trying to bold the text in the first occurence of string, matching the input query but the character is getting bold on every occurence in the string.

Input : "

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