[PHP] newline and return issues in string

2011-10-11 Thread admin
I have come across an issue with my string that I would like to find a faster way to resolve. It seems there are new lines and returns at different positions of the string. First I exploded on the new line explode(“\n”, $ string) This gave me a nice array but when I try to implode I get the

Re: [PHP] newline and return issues in string

2011-10-11 Thread Bastien Koert
On Tue, Oct 11, 2011 at 7:58 AM, ad...@buskirkgraphics.com wrote: I have come across an issue with my string that I would like to find a faster way to resolve. It seems there are new lines and returns at different positions of the string. First I exploded on the new line explode(“\n”, $

RE: [PHP] newline and return issues in string

2011-10-11 Thread admin
-Original Message- From: Bastien Koert [mailto:phps...@gmail.com] Sent: Tuesday, October 11, 2011 8:53 AM To: ad...@buskirkgraphics.com Cc: php-general@lists.php.net Subject: Re: [PHP] newline and return issues in string On Tue, Oct 11, 2011 at 7:58 AM, ad...@buskirkgraphics.com

Re: [PHP] newline and return issues in string

2011-10-11 Thread Richard Quadling
On 11 October 2011 12:58, ad...@buskirkgraphics.com wrote: I have come across an issue with my string that I would like to find a faster way to resolve. It seems there are new lines and returns at different positions of the string. First I exploded on the new line explode(“\n”, $ string)

Re: [PHP] newline and return issues in string

2011-10-11 Thread Fatih P.
On 10/11/2011 04:44 PM, Richard Quadling wrote: On 11 October 2011 12:58,ad...@buskirkgraphics.com wrote: I have come across an issue with my string that I would like to find a faster way to resolve. It seems there are new lines and returns at different positions of the string. First I

RE: [PHP] newline and return issues in string

2011-10-11 Thread admin
-Original Message- From: Richard Quadling [mailto:rquadl...@gmail.com] Sent: Tuesday, October 11, 2011 9:44 AM To: ad...@buskirkgraphics.com Cc: php-general@lists.php.net Subject: Re: [PHP] newline and return issues in string On 11 October 2011 12:58, ad...@buskirkgraphics.com