basename

fun basename(fileName: String): String

Gets the name of the file without any leading directory components. It returns a pointer into the given file name string.

Return

the name of the file without any leading directory components

Parameters

fileName

the name of the file