Jump to content

carriage return and line feed diff


atitthaker

Recommended Posts

I am understanding that there is difference between line feed and carriage return but I am not getting the desired output.

"This is \nsample string."

shall print
This is
        sample string.

and

"This is \rsample string."

shall print
This is
sample string.

Right?
But I am getting next line from the first column only.

Plz help...
Link to comment
https://forums.phpfreaks.com/topic/17935-carriage-return-and-line-feed-diff/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.