Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2001092

Re: [PHP] Parsing text file and dividing column into three...PLEASE help :) From: * R&zE: (renze <email protected>)
Date: 09/20/01

<Original message>
From: Jeff Lewis <jeff <email protected>>
Date: Thu, Sep 20, 2001 at 11:59:32AM -0400
Message-ID: <013e01c141ed$3d51f340$76a1a8c0 <email protected>>
Subject: [PHP] Parsing text file and dividing column into three...PLEASE help :)

> I have a very large text file that is set up like so: It contains
> some smaller columns but one HUGE one that contains the body of a
> resume. I am looking for help on processing this file. What I
> need to do is convert the final column into three columns. Each
> column can have no more than 4000 characters, is this possible?
> Well I know it's possible but can someone help me? I am down to
> my last options :(

</Original message>

<Reply>

Dunno what you want to do exactly, but have you ever thought about
split()?

Something like: $myColumns = split ("|", $contents);

</Reply>

-- 

* R&zE:

-- »»»»»»»»»»»»»»»»»»»»»»»» -- Renze Munnik -- DataLink BV -- -- E: renze <email protected> -- W: +31 23 5326162 -- F: +31 23 5322144 -- M: +31 6 21811143 -- -- Stationsplein 82 -- 2011 LM HAARLEM -- Netherlands -- -- http://www.datalink.nl -- ««««««««««««««««««««««««

-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>