Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Find CR in memo
Message
From
03/10/2008 03:55:33
 
 
To
03/10/2008 03:47:39
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01352487
Message ID:
01352491
Views:
21
>>>Hi all
>>>Can anybody help me how to find CR/LF in a memo field.
>>>Thanks
>>>
>>>Tamas
>>
>>? ATC(CHR(13)+CHR(10), MemoFieldName)
>
>Thanks, Boris.
>Intrestingly the memo field seems to have ten lines but the ATC returns 30.
>Can I display where exactly the CR is in the text?
>
>Thanks

If this is only for inspection, the easiest is strtran(yourmemo,chr(13)+chr(10),chr(124)). Replace chr(124) with another character, if you wish.
Previous
Reply
Map
View

Click here to load this message in the networking platform