Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Character strings---picking out substrings
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00125430
Message ID:
00125541
Vues:
12
>I have to go through a table and choose part desriptions to put in a report; here's the problem --- the way the parts are listed in the table is like this:
>
>group(brakes)
>group(gears)
>etc.
>
>I need to remove the string within the parentheses to place in a report. HELP!!

If the strings always are "GROUP(something)" you could write STRTRAN(string, "GROUP(", "") and then embed that expression in STRTRAN(..., ")", ""); you would get something like STRTRAN( STRTRAN(string, "GROUP(", ""), ")", "") which *is* quite a mouthful!

HTH
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform