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

get_pname

get_pname( 
s_arg 
) 
=> t_result

Description

Returns the print name of a symbol as a string.

This function is useful for converting symbols to strings. If you just want to print the name of a symbol, you do not need to use this function. This function is equivalent to symbolToString.

Arguments

s_arg

A symbol.

Value Returned

t_result

Print name of the symbol.

Examples

get_pname( 'a )                  
=> "a"
get_pname(concat("Cell_" 123))   
=> "Cell_123"

Related Topics

Core Functions

get_string


Return to top
 ⠀
X