luadocs/content/lua.scripts.api.manual/dtutils.file/get_basename.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

472 B

title id weight draft author
get_basename get_basename 100 false people

NAME

get_basename

SYNOPSIS

get the filename without the path or extension

USAGE

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

filepath - string - path and filename

DESCRIPTION

get_basename returns the name of the file without the path or filetype.

RETURN VALUE

result - string - the basename of the file