path.extension

path.extension

path.extension

Function

Returns the path extension.

Syntax

Parameters

None.

Return value

TypeDescription
StringExtension; if there is no extension, an empty string is returned.

Code Example

Notes

  • The return value does not contain a period.