Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Parsing question
Message
From
01/10/2001 11:23:24
 
 
To
21/09/2001 18:44:08
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00559565
Message ID:
00562587
Views:
21
You could look for a chr(13) in the data with an AT(chr(13), AddrData) and then substring AddrData to split the lines:
Addr1 = substr(AddrData, 1, AT(chr(13), AddrData) - 1 and
Addr2 = substr(AddrData, AT(chr(13), AddrData) + 1)


>I have some data from an Excel SpreadSheet that is best dealt with as a text field. Problem is that some of the records have a carriage return in them (two lines for an address/PO box #). As a character field the data has a thick ‘|‘ in it. What is the best way to deal with these?
>
>Thanks!
"You don't manage people. You manage things - people you lead" Adm. Grace Hopper
Pflugerville, between a Rock and a Weird Place
Previous
Reply
Map
View

Click here to load this message in the networking platform