Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Matching parts of two Strings
Message
From
16/09/2002 17:22:15
 
 
To
16/09/2002 17:13:10
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00700976
Message ID:
00700987
Views:
12
>>Is there a way to find the same part of two delimeted strings? Example:
>>String 1 SDE,MJS,NYE
>>String 2 33,45,25
>>
>>I need to find the second part of both strings because they go together.
>
>If you are using VFP 7 try the STREXTRACT() function. If you can be sure of your delimiters.

STREXTRACT() would require special case handling for the first pair, wouldn't it? It has no way to select a partial string unless it begins with a delimiter - or am I missing something?

[UPDATE] sorry, of course, it should be easy to insert a delimiter at the beginning...
----------------------------------
António Tavares Lopes
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform