remove File Extension
Return
the string without the extensions
Parameters
filename
the string path representation of the file
remove All Extensions
if true all extensions including the last are removed
the string without the extensions
the string path representation of the file
if true all extensions including the last are removed