FILE () STRIPS BLANKS FROM THE ARRAY - HOW CAN I STOP IT

From: Date: Mon, 07 May 2001 00:41:04 +0000
Subject: FILE () STRIPS BLANKS FROM THE ARRAY - HOW CAN I STOP IT
Groups: php.general 
Request: Send a blank email to php-general+get-51677@lists.php.net to get a copy of this message
I have an ASCII fixed width text file I'm trying to convert to an array of fields. But I need to keep the spaces in tact so I know exactly where one field ends and another begins. Do you know of any way to modify the default behavior of file() which strips the blanks spaces out when returning the array? admin@callutopia.com

« previous php.general (#51677) next »