Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Replacing characters in a field
Message
From
13/04/2000 18:26:58
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Replacing characters in a field
Miscellaneous
Thread ID:
00359557
Message ID:
00359557
Views:
42
Hi All,

Is there an easy way to replace characters in a field "conditionally"?

Example: converting data from a new client where all data is upper case to mixed case using PROPER. Returns "P.o" for "P.O." in some not all situations. I now need to find these and other inappropriate conversions (SW-Sw, US-Us, etc.) in the street field and replace them with the appropriate characters. It can probably be accomplished by using the AT command to find an occurance of offending text and storing the positions and then replacing same. Is there an easier way? Is it possible to use the String fuction ($) with the replace command somehow to accomplish this? TIA.

Regards,

Paige
Next
Reply
Map
View

Click here to load this message in the networking platform