Product Documentation
Cadence SKILL Language Reference
Product Version IC23.1, November 2023

simplifyFilenameUnique

simplifyFilenameUnique( 
t_path 
) 
=> t_fullPath / error message

Description

Returns the full path for the given t_path without links and a trailing slash / at the end of the result string. The function returns an error if the given t_path is incorrect.

Arguments

t_path

Path to a directory or file.

Value Returned

t_fullPath

Full path for the given t_path without links and a trailing slash / at the end.

Examples

;The example below illustrates the difference between the simplifyFilename and simplifyFilenameUnique functions
simplifyFilename(".////")
=> "/home/user1/"
simplifyFilenameUnique(".////")
=> "/home/user1"

Related Topics

Input Output Functions


Return to top
 ⠀
X