Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Matching parts of two Strings
Message
De
16/09/2002 17:22:15
 
 
À
16/09/2002 17:13:10
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00700976
Message ID:
00700987
Vues:
13
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform