Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Filename minus the extension
Message
 
 
À
04/05/2009 17:07:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01397475
Message ID:
01397857
Vues:
43
>>>Hi Gang!
>>>
>>>Does VFP8SP1 have a built in function that removes the extension to a file and return just the part before the extension??
>>>
>>>e.g.
>>>
>>>LeftpartofFileName.TheExtension - > LeftpartofFileName
>>>
>>>Thanks!
>>
>> justpath() + juststem()
>
>forceext(cFilename,"")
>
>As often said, there's more than one way to skin a cat... Why would I want to skin a cat in the first place?

Yes, haven't thought at that moment of this simpler solution. Thanks.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform