Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Character strings---picking out substrings
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00125430
Message ID:
00125541
Views:
11
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform