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

get_string

get_string( 
S_arg 
) 
=> t_result

Description

Converts the argument to a string if it is a symbol. Otherwise it returns the string itself.

Arguments

S_arg

String or symbol.

Value Returned

t_result

If the argument is a string, returns the argument itself. If the argument is a symbol, returns the print name as a string.

Examples

get_string('xyz)    
=> "xyz"
get_string("xyz")   
=> "xyz"

Related Topics

Core Functions

get_pname


Return to top
 ⠀
X