Jamie Balfour

Welcome to my personal website.

Find out more about me, my personal projects, reviews, courses and much more here.

Official ZPE/YASS documentationfile_get_name

file_get_name (string file) ⇒ string

Returns the name of a file. This return the actual name of the file, minus directories, so it is essentially the last part of the path. E.g.
file_get_name("/User/Documents/f.txt")
would return f.txt

Alternative function names: fname
First available: Version 1.4.0.23
Comments
Feedback 👍
Comments are sent via email to me.