Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Filename minus the extension
Message
 
 
To
04/05/2009 17:07:37
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01397475
Message ID:
01397857
Views:
42
>>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform