Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with replace statement with string
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00151527
Message ID:
00151549
Vues:
19
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform