[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Can We Implement A String Delimiter That Cannot Be In A String



Please forgive me if this is the wrong forum for this topic.

I am trying to understand why the delimiter problem remains unsolved. The delimiter problem is the complication created by using valid string characters as string delimiters, making a string like this

Mary's statement was, "I'm happy with Jill's "Thank you's, which included 'personal comments' relevant to each guest's favorite charity."

difficult to work with as a string to be handled by a computer program.

I am familiar with escaping characters, but that can get complicated, such as when using regex at the command line where the string has to be delimited for the shell to know what to do and that can make the simultaneous delimiting of the regex command  extremely challenging.


The solution seems almost obvious: create a delimiter that can be inserted where programmers need them but are not part of human language. If the delimiter was different for the start of a string vs then end, strings could nested and there never would be any confusion.

What would it take to implement something like this, and why has this not been done already?



--
215 Marshall Street
Houston, Texas 77006
713-806-8783
dan@houston-data.com

Reply to: