>Hi,
>
>>
>A little simpler and it should execute faster:
>
>#DEFINE CRLF CHR(13)+CHR(10)
>myString - cString1 + CRLF + cString2 + CRLF + cString3
>
>>>
>Simpler, yes. But faster ?
>
>Regards,
>Viv
Hi Viv,
Yes, both Hilmar and Borislav questioned my faster claim, so I ran a test using both approaches, plus Fabios suggestion of 0hD0A in place of the CRLF. The first time through, CHR(13) + CHR(10) took about twice as long as CRLF, which in turn took about twice as long as Fabio's solution. Repeating the test, they were all about equal. So, once its in memory, its irrelevant.
Regards,
Jim