FileName$

Category: Strings

Back to System Functions


Signature

FileName$(path As String)

Returns

String

Description

Returns the file name portion of a path, including the extension if one is present.

Example

name$ = FileName$("assets/sprites/player.png")