Re: explode and escape character for string separator
| From: | Jason Wong | Date: | Fri, 18 Jul 2003 19:06:20 +0000 |
| Subject: | Re: explode and escape character for string separator | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-155825@lists.php.net to get a copy of this message | ||
On Saturday 19 July 2003 03:04, Reuben D. Budiardja wrote:
> > You should strive to make your delimiter unique. A delimiter that might
> > possibly appear within the items it is meant to delimit is no longer a
> > delimiter.
>
> 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.
Do note that your delimiter is not limited to a single character, it can be a
sequence of characters.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
Horner's Five Thumb Postulate:
Experience varies directly with equipment ruined.
*/