Split(php explode) by new line in server connect

Hi,

I’ve got a string that I want to explode into an array.
The raw data comes with a new line character as part of the string \r\n
I’ve tried several ways of escaping the characters but no luck yet.

Any ideas?

Community Page
Last updated: