>>>>My code stores a singe character to ff
>>>>
>>>>How do I test ff for FF, LF and CR characters
>>>>
>>>>Simple I know
>>>>
>>>>One of those days
>>>>
>>>>Colin
>>>
>>>in general $ or AT()
>>>
>>>lcString =`'ABCD'
>>>?'A'$lcString
>>>?'a'$lcString
>>>?at('A',lcString)
>>>?at('a',lcString)
>>>
>>>for CR,LF etc you can use CHR() or the 0h Syntax
>>>
>>>lcCHR = CHR(13)
>>>lcCHR2=0h0D
>>>?lcCHR=lcCHR2
>>>
>>>
>>>For the codes see
http://en.wikipedia.org/wiki/ASCII>>
>>I have revised one line to IF chn=CHR(10) OR chn=CHR(13)
>>
>>But it is still not creating the blanks
>
>You can use something like this, which will actually do the whole job for you:
>
lcYourtext = Strtran(lcYourtext,chr(10),chr(10) + ' ')
>lcYourtext = Strtran(lcYourtext,chr(13),chr(13) + ' ')
Thanks a lot
Specialist in Advertising, Marketing, especially Direct Marketing
I run courses in Business Management and Marketing