Unfortunately not. That reads from a file. I have a string :-(
I am playing around with a perl regex and preg_match_all but it is NOT
trivial.
On Tue, 2002-09-17 at 11:14, Ron Snyder wrote:
> > >Has anyone already written a PHP code snippet for splitting a CSV
> > >string, as now produced by postgresql, into an array of varchars ?
>
> You mean something like this:
> http://www.php.net/manual/en/function.fgetcsv.php
>
> -ron
>
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Glen and Rosanne Eustace,
GodZone Internet Services, a division of AGRE Enterprises Ltd.,
P.O. Box 8020, Palmerston North, New Zealand 5301
Ph/Fax: +64 6 357 8168, Mob: +64 21 424 015