Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Matching parts of two Strings
Message
De
16/09/2002 17:33:18
 
 
À
16/09/2002 17:22:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00700976
Message ID:
00700993
Vues:
13
>>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?
yourstring="123,456,abc"
STREXTRACT( yourstring, "", ",")
will extract "123", the first field
yourstring="123,456,abc"
STREXTRACT( yourstring, ",", "")
will extract "abc", the last field, in the above example
Scott Ramey
BDS Software
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform