Create basename.lua

This commit is contained in:
FusionPBX 2018-02-10 13:42:02 -07:00 committed by GitHub
parent 39c4530cfd
commit 129a9b5986
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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