@FilePart

Parent Previous Next

@FilePart.

Returns the file part (name and extension) of the input path which is assumed to identify a file.


Syntax.


 @FilePart(String path) : String

 


This function is often used in combination with @DirPart.


Arguments:


Example:


 String file, path := "c:\test\file.txt";

 file := @FilePart(path); //Now file == "file.txt";