I need help stripping file extension.
filename = filename (Good)
filename.extension needs to become just filename
filename.sub.extension needs to become filename.sub
I need a function that will achieve this, because when saving
files, I need to copy some additional files over that need to have
the same name as the saved file. This is the last bug I need to fix
in my app.