Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Odd string replacement: STRTRAN but with embedded spaces
Message
From
14/11/2006 01:22:18
 
 
To
14/11/2006 01:09:20
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01169359
Message ID:
01169391
Views:
8
Thomas --

Not quite sure of what you're suggesting here. Looking for all occurrences of substrings could be quite a list, no?

>>Main ways:
>> "Big Widget 1 12345 12345 1"
>> "Big Widget - 1 12345 12345 1"
>>Occurs a few times:
>> "Big Widget (1 12345 12345 1)"
>>Once only:
>> "Big Widget 1 12345 12345 1 / China"
>> "Big Widget Green:1 12345 12345 1"
>>
>>Can't really count on anything, I'm afraid, other than that the UPC Code appears with white space.
>>
>>(Further note: The spaces within the UPC Codes above are the usual presentation ... but there's also "1 12345 123451" and "112345 123451" and even "11 2345 12345 1")
>>
>Then look for all occurrencces of substrings consisting only of numbers and strings with 12 numbers.
>
>HTH
>
>thomas
Jim Nelson
Newbury Park, CA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform