Re: explode and escape character for string separator

From: Date: Fri, 18 Jul 2003 19:04:10 +0000
Subject: Re: explode and escape character for string separator
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-155823@lists.php.net to get a copy of this message
One set of delimiters I often use for text files is ~~ or ^^. They are fairly unique. If they do appear in a file then there is probably garbage in the file and I want to know about. For my templates "delimiter" I use {::TagName::}. You could use }::{ as your delimiter. Don't limit yourself to just a single character. Although the upside down ! or ? are nice if you are not using Spanish. On Friday, July 18, 2003, at 03:04 PM, Reuben D. Budiardja wrote:
I did strive for that. But whatever character I choose, the problem remains that we can't guarantee that it's going ot be only used as deliminater, since the deliminated string is an input from user. So the problem remains. -- Brent Baisley Systems Architect Landover Associates, Inc. Search & Advisory Services for Advanced Technology Environments p: 212.759.6400/800.759.0577


« previous php.general (#155823) next »