Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Odd string replacement: STRTRAN but with embedded spaces
Message
From
13/11/2006 20:44:40
 
 
To
13/11/2006 20:25:29
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., New Zealand
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01169359
Message ID:
01169369
Views:
10
John -- good try, but that removes all the spaces from the result. I need the original to remain unchanged except for the removed UPC Code.

removing "112345123451" from "Full Part Description 1 12345 12345 1" should yield "Full Part Description "

>How about
>
>
lcJustPart=STRTRAN(CHRTRAN(mytable.cPartWithUPC,[ ],[]),mytable.cUPC,[])
Jim Nelson
Newbury Park, CA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform