Thanks Rob! gave an idea..
 
-adrian

--- On Thu, 8/21/08, Rob Kennedy <[EMAIL PROTECTED]> wrote:

From: Rob Kennedy <[EMAIL PROTECTED]>
Subject: Re: [delphi-en] Valid Unix or DOS text Format
To: [email protected]
Date: Thursday, August 21, 2008, 9:42 PM






Adrian Estoquia wrote:
> Im trying to converting data from Unix to to DOS.

Have you seen the AdjustLineBreaks function in SysUtils?

> I'm curios whether theres a possible way to detect if its a valid UNIX format 
> (or the DOS)? Thanks.

Check whether line feeds are preceded by carriage returns.

-- 
Rob
 














      

[Non-text portions of this message have been removed]

Reply via email to