User Tools

Site Tools

Navigation:  Templates > Template Language Reference > Built-in Template Procedures >====== TAILNAME (extract file name from full path) ====== Previous pageReturn to chapter overviewNext page

TAILNAME( symbol )


TAILNAME Extract a filename from a symbol, removing any path element.
symbol The symbol containing the filename to extract.

The TAILNAME function processes a full path and file name and removes the path part of the symbol. The returned string is its name and extension only. TAILNAME does not expand short names. This function is only available in template language usage.

Return Data Type:     STRING


#!  Generate the default install files  —
Document Type: WSE
item: Global
 File Checksum=646309025
#INSERT(%InstFile, FULLNAME(%ProjectTarget), '%MAINDIR%\' & TAILNAME(%ProjectTarget), %WiseFile2Count)

See Also:     FULLNAME

Built-In Template Procedures

tailname_extract_file_name_from_full_path_.htm.txt · Last modified: 2021/04/15 15:57 (external edit)