|
|
| GetFileExt$ | ||
| FileExtension$ = GetFileExt$(Filename$) | ||
| Parameters: Filename$ = The filename & path you wish to grab the file extension from |
||
| Returns: FileExtension$ = The File Extension from the filename |
||
The GetFileExt$ functions returns the file extension from a filename. FACTS: * None Mini Tutorial: This example, shows how to grab the file extension, the filename, the directory folder and device name from an absolute filename. An absolute filename is a filename that contains the device, the directory and the filename. Like this "C:\Windows\MyFile.txt"
This example would output something like this.
|
| Related Info: | GetDeviceName$ | GetFileName$ | GetFolderName$ : |
|
|
|||||||||||||||||||||||||||||||||||||||
|
(c) Copyright 2002 - 2026 - Kevin Picone - PlayBASIC.com |