Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Searching for an inverted Extract function
Message
From
05/10/2000 09:21:28
John Baird
Coatesville, Pennsylvania, United States
 
 
To
05/10/2000 08:38:07
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00425226
Message ID:
00425252
Views:
17
Look at the STUFF() function.



>I need a function that works as an inverted Extract... It should return everything before a specified delimeter and everything after a specified delimiter with the option to insert something in the middle.
>
>In a working example for what I need it for is the following string:
>
>driver={SQL Server};server=(local);database=master;uid=sa;pwd=;
>
>In my program the database= could be many different values (here its master but I don't know at runtime). So I want to be able to insert something between database= and ; and remove whatever is there.
>
>Is there any build in function if VFP for doing that?
Previous
Reply
Map
View

Click here to load this message in the networking platform