getfilename()
← Back to Module fileio
Get file name of a path
getfilename(path)
path
string
import fileio getfilename("/path/to/file.txt") ' Returns "file.txt"
Documentation version: 1.0.12. Updated on: 14 November 2022.Dinfio is designed and written by Muhammad Faruq Nuruddinsyah. Copyright © 2014-2024. All rights reserved.