Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Identifying differences between two character strings
Message
From
03/07/2003 09:56:52
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00806505
Message ID:
00806528
Views:
19
Hi Larry

> I'm not totally sure exactly how this would work, but one example follows:

Pardon me for saying so, but if you're not sure what you want, how do you expect to get an answer that as to whether it exists or not? :)

For cases where both items contain the same string (ie idsentifying prefixes and suffixes - per your example) you could use STRTRAN() and CHRTRAN() (Use the latter to remove all punctuation first, then STRTRAN() the longer string with the shorter).

However anything else gets tricky and you would need to specify exactly what the rules for comparison are.
----
Regards
Andy Kramek
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform