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:
00151549
Views:
20
>Hi Josh:
>
>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\

Hi Sheena,

Won't JustDrive(lcdir) + SUBSTR(upldp, 3) work? Of course, if you're using VFP 5.0 and don't want to use foxtools, that'd be LEFT(lcdir, 2) + SUBSTR(upldp, 3).

hth,
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform