--- "Reuben D. Budiardja" <[EMAIL PROTECTED]> wrote: > Suppose I have a long string like > $myStr = "$string1:$string2:$string3"; > > I can obviously explode them using ":" as the separator. But what if > $string1 contains the character ":" by itself?
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. Chris ===== Become a better Web developer with the HTTP Developer's Handbook http://httphandbook.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php