Skip to content

TFile.getShortName method

TFile › getShortName

Unofficial

Gets the short name of the file.

For a/b/c.md, it returns c.

For a/b/c.any-other-extension it returns c.any-other-extension.

Signature:

getShortName(): string

Returns: stringThe short name of the file.