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
How about you use a CSV style format? Characters can be escaped in a standard CSV format, and there's already a lot of parsers already written.