Re: Re: stripping first comma off and everything after
| From: | Troy Oltmanns | Date: | Sat, 19 Jun 2010 04:46:57 +0000 |
| Subject: | Re: Re: stripping first comma off and everything after | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-306265@lists.php.net to get a copy of this message | ||
http://php.net/manual/en/function.split.php
I haven't tested for efficiency but splitting it will be great for assigning
it easily into an array.
On Fri, Jun 18, 2010 at 7:42 PM, Robert Cummings <robert@interjinn.com>wrote:
> shiplu wrote:
>
>> I'll use,
>>
>> list($data) = explode(",",$entries[$i]["dn"]);
>>
>>
> It's probably the least efficient method.
>
>
> Cheers,
> Rob.
> --
> E-Mail Disclaimer: Information contained in this message and any
> attached documents is considered confidential and legally protected.
> This message is intended solely for the addressee(s). Disclosure,
> copying, and distribution are prohibited unless authorized.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>