Re: Text Parser

From: Date: Thu, 02 Dec 2004 15:44:15 +0000
Subject: Re: Text Parser
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-203354@lists.php.net to get a copy of this message
Suppose this is your first string $value house , ball , door , roof , floor $saparate = explode(",",$value); $list = implode("','", $arr1); $final = ('$arr2'); echo $final; Thnx... Quoting Pablo D Marotta <Pablo.D.Marotta@aexp.com>: > Hi there.. > A newbie issue: > I´m receiving this: "house , ball , door , roof , floor" > And I want to obtain this: > "'house','ball','door','roof','floor'" > > Maybe, I should use implode or explode, but I just can´t figure out how.. > Help? > > > > American Express made the following > annotations on 12/02/04 08:13:28 > ------------------------------------------------------------------------------ > ****************************************************************************** > > "This message and any attachments are solely for the intended recipient > and may contain confidential or privileged information. If you are not the > intended recipient, any disclosure, copying, use, or distribution of the > information included in this message and any attachments is prohibited. If > you have received this communication in error, please notify us by reply > e-mail and immediately and permanently delete this message and any > attachments. Thank you." > > ****************************************************************************** > > ============================================================================== > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#203354) next »