Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with replace statement with string
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00151527
Message ID:
00151553
Views:
18
Sheena,

Try using REPLACE upld WITH LEFT(THISFORM.Text1.Value,3)+SUBSTR(upld,3).

>Thisform.text1.value is the drive that the user selects so ....
>
>current value of upldp = c:\wincats\upld\
>
>after they select new drive i.e g:\ the value is g:\ but I only want
>drive name replaced so the result I want is G:\wincats\upld\
Previous
Reply
Map
View

Click here to load this message in the networking platform