-
Notifications
You must be signed in to change notification settings - Fork 112
get_filename
wpferguson edited this page Jun 14, 2020
·
1 revision
get_filename
get the filename and extension from a file path
local df = require "lib/dtutils.file"
local result = df.get_filename(filepath)
filepath - string - path and filename
get_filename strips the path from a filepath and returns the filename
result - string - the file name and type