What is the best algorithm for arbitrary delimiter/escape character processing?

后端 未结 7 1888
心在旅途
心在旅途 2021-01-02 07:57

I\'m a little surprised that there isn\'t some information on this on the web, and I keep finding that the problem is a little stickier than I thought.

Here\'s the r

7条回答
  •  悲&欢浪女
    2021-01-02 08:12

    You'ew looking for something like a "string tokenizer". There's a version I found quickly that's similar. Or look at getopt.

提交回复
热议问题