Category: Strings
Back to System Functions
FileDir$(path As String)
String
Returns the directory portion of a path. If the path does not include a directory, an empty string is returned.
folder$ = FileDir$("assets/sprites/player.png")