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
Value Returned
|
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
Return to top