Re: [PHP] help with \n\r in strings
- From: arpad@xxxxxxxxxxx (Arpad Ray)
- Date: Fri, 29 Dec 2006 10:50:40 +0000
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
.
- Follow-Ups:
- Re: [PHP] help with \n\r in strings
- From: "Manolet Gmail"
- Re: [PHP] help with \n\r in strings
- References:
- help with \n\r in strings
- From: Angelo Zanetti
- help with \n\r in strings
- Prev by Date: Re: [PHP] help with \n\r in strings
- Next by Date: Re: [PHP] Payflow and Php5 on FreeBSD
- Previous by thread: Re: [PHP] help with \n\r in strings
- Next by thread: Re: [PHP] help with \n\r in strings
- Index(es):
Relevant Pages
|