Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Capturing Parts of Filename
Message
From
25/02/1999 02:41:55
 
 
To
24/02/1999 23:52:46
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00191272
Message ID:
00191296
Views:
17
>How do I capture the parts of a filename? For example, if the name of a file is image0001.jpg, I want to define lcprefix as "image0001" and lcSuffix as "jpg". I can't find this anywhere in the VFP6 online documentation, which is frustratingly difficult to use.

look for JUSTSTEM() and JUSTEXT() commands in the help
You can also get this functionality using the regular VFP character handling commands (AT,LEFT,RIGHT etc.)

Arnon
Previous
Reply
Map
View

Click here to load this message in the networking platform