-
-
Notifications
You must be signed in to change notification settings - Fork 3
getFilename()
Maingron edited this page Jan 4, 2022
·
2 revisions
getFilename(path);
-
path
= Path of the desired file [String]
getFilename("C:/Documents and Settings/pi.txt")
getFilename() returns the filename of a file. This means that it removes the full path. "C:/Documents and Settings/pi.txt" would become "pi.txt". If it's a folder, it will return the name of the folder, instead.