Removes the file extension from a string and treats multiple dots in a row as part of the file name.
removeFileExtension('foo.txt') // 'foo' Copy
removeFileExtension('foo.txt') // 'foo'
Removes the file extension from a string and treats multiple dots in a row as part of the file name.