Re: Parsing text file and dividing column into three...PLEASE help :)

From: Date: Thu, 20 Sep 2001 16:16:02 +0000
Subject: Re: Parsing text file and dividing column into three...PLEASE help :)
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-68009@lists.php.net to get a copy of this message
<Original message> From: Jeff Lewis <jeff@hyrum.net> Date: Thu, Sep 20, 2001 at 11:59:32AM -0400 Message-ID: <013e01c141ed$3d51f340$76a1a8c0@LEWISJCIT> 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@datalink.nl -- W: +31 23 5326162 -- F: +31 23 5322144 -- M: +31 6 21811143 -- -- Stationsplein 82 -- 2011 LM HAARLEM -- Netherlands -- -- http://www.datalink.nl -- ««««««««««««««««««««««««

« previous php.general (#68009) next »