Removing text after second occurence of specific character in a string - any better way to do it?

后端 未结 0 1352
悲哀的现实
悲哀的现实 2020-12-08 02:50

On this example I\'d like to remove text after second comma. string = "This is string, remove text after second comma, to be removed."

I\'ve came up with th

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