-
Notifications
You must be signed in to change notification settings - Fork 114
split_filepath
wpferguson edited this page Jun 14, 2020
·
1 revision
split_filepath
split a filepath into parts
local df = require "lib/dtutils.file"
local result = df.split_filepath(filepath)
filepath - string - path and filename
split_filepath splits a filepath into the path, filename, basename and filetype and puts that in a table
result - table - a table containing the path, filename, basename, and filetype