stk:file.get-extension(function)

Gets the file extension of a file path.

xs:string?stk:file.get-extension
  1. xs:stringfile-path

Examples

Input

<xsl:value-of select="stk:file.get-extension('testimage.jpg')"/>

Result

jpg

Parameters

file-path
The file path of the file to get extension of
Type
xs:string