Splitting a String and Number in Javascript Without a “” in the Zero Position

后端 未结 0 2004
日久生厌
日久生厌 2020-12-21 05:28

There\'s a lot of answers on SO already regarding this.

const s = "500italic";
const split_string = s.split(/(\\d+)/);

The current

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