Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Filename minus the extension
Message
From
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:
01397854
Views:
40
>>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?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform