Least used delimiter character in normal text < ASCII 128

后端 未结 14 1475
执念已碎
执念已碎 2020-12-23 19:00

For coding reasons which would horrify you (I\'m too embarrassed to say), I need to store a number of text items in a single string.

I will delimit them using a char

14条回答
  •  误落风尘
    2020-12-23 19:03

    Can you use a pipe symbol? That's usually the next most common delimiter after comma or tab delimited strings. It's unlikely most text would contain a pipe, and ord('|') returns 124 for me, so that seems to fit your requirements.

提交回复
热议问题