luadocs/content/lua.scripts.api.manual/dtutils.file/split_filepath.md
Bill Ferguson b69d752221 [lua scripts] created manual from script comments
[lua scripts api] created manual from embedded library documentation

[lua api] created stub to contain lua api manual
2020-12-12 15:14:19 -05:00

530 B

title id weight draft author
split_filepath split_filepath 190 false people

NAME

split_filepath

SYNOPSIS

split a filepath into parts

USAGE

local df = require "lib/dtutils.file"
local result = df.split_filepath(filepath)

filepath - string - path and filename

DESCRIPTION

split_filepath splits a filepath into the path, filename, basename and filetype and puts that in a table

RETURN VALUE

result - table - a table containing the path, filename, basename, and filetype