We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
chop_filetype
remove a filetype from a filename
local df = require "lib/dtutils.file" local result = df.chop_filetype(path)
path - string - a filename with or without a path
chop_filetype removes the filetype from the filename.
result - string - the path and filename without the filetype
Libraries