Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using STREXTRACT
Message
De
06/10/2018 11:12:39
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Using STREXTRACT
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01662486
Message ID:
01662486
Vues:
75
Hi,
Please consider these two cases
A=F1 (Plan 99 \Old Plan 100\)472 676 w
A=F1 (Plan 99 \(Old Plan 100\))472 676 w
I need to Extract the Text Between the two Brackets i.e "(" and ")"

If I use STREXTRACT(A,'(',')'), for the first Case I get " Plan 99 \Old Plan 100\", which is correct as per my requirement.

But I get "Plan 99 \(Old Plan 100\" for my second case while It need "Plan 99 \(Old Plan 100\)".

I Need to extract the Text Between Two Extreme Brackets. How to do this in both the above situation.

Thanks
Harsh
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform