getFileNameNoExtension

open fun getFileNameNoExtension(file: File): String

Return the name of file without extension.

Return

the name of file without extension

Parameters

file

The file.

open fun getFileNameNoExtension(filePath: String): String

Return the name of file without extension.

Return

the name of file without extension

Parameters

filePath

The path of file.