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

stringToSymbol

stringToSymbol( 
t_string 
) 
=> s_symbolName

Description

Converts a string to a symbol of the same name.

Arguments

t_string

String to convert to a symbol.

Value Returned

s_symbolName

Symbol for the given string.

Examples

y = stringToSymbol( "test")
=> test
sprintf(nil "%L" y)
=> "test"

Related Topics

Type Conversion Functions

stringToFunction

stringToTime

symbolToString


Return to top
 ⠀
X