Re: help with \n\r in strings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Angelo Zanetti wrote:
So is there a way to test for \r\n? or what else can I use to delimit these two values (last column of row and first column of next row)?

Since it's coming from a file, you might as well just read it with file(), which will split each line into an array automatically. If it's a CSV file, then fgetcsv() helps you out even more.

Arpad

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux