Re: control M from export file
| From: | Chris Shiflett | Date: | Mon, 29 Sep 2003 21:14:50 +0000 |
| Subject: | Re: control M from export file | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-164305@lists.php.net to get a copy of this message | ||
--- Ed Kwok <ekwok1@san.rr.com> wrote:
> I am running into problem parsing a file exported from MS excel. I
> have exported the file as asci format, but there is a control "M"
> append to my document. What is this control "M" and how can I delete
> without manually replace it? Is there any automated function I could
> use?
You can probably use dos2unix to get rid of it. I think the control-M is a
carriage return (\r).
Hope that helps.
Chris
=====
HTTP Developer's Handbook
http://shiflett.org/books/http-developers-handbook
My Blog
http://shiflett.org/