Getting the file extension
This a script in Python that just extracts the file extension
Getting the Filename of a Filename String
Now let's get the file name of the string without the extension, just the name.