Re: help with \n\r in strings

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

 



2006/12/29, Arpad Ray <arpad@xxxxxxxxxxx>:
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)?
>


mmm what about open the file with and hex editor?.. or mmm notepad++
have a option to see if is \r \n or \r\n

hopes helps

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



--
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