platform.h
Return "fileName" stripped of its extension. Only extensions contained in "validExtensions" will be stripped from the filename.
@note Extensions in "validExtension" should include the dot.
Functions