Create basename.lua

This commit is contained in:
FusionPBX 2018-02-10 13:42:02 -07:00 committed by GitHub
parent b5b3edc50a
commit 67b980fa71
1 changed files with 3 additions and 0 deletions

View File

@ -0,0 +1,3 @@
function basename(file_name)
return (string.match(file_name, "([^/]+)$"))
end