Previous Next

Strips the path fragment in a full file path and returns only the file name found at the end.


path:GetFileName( path )

The required path is a path expression identifying the path that you want to extract the file name from.

TIP: For a full list of Blend functions in the area of path manipulation, use this command line:

usoft-install-dir\bin64\ublendit.exe functions ns=path



This example reports what is the file name found at the end of the path:

<pc:assign-string fullpath="C:\Users\P3100014\Downloads\Export - 2021-12-23T170520.171.xml"/>
  The file name is: 
  <pc:value-of select="path:GetFileName($fullpath)"/>