corModelSpec = (("/home/bin/toplevel.scs" "top_sf"))
corModelSpec is of a type symbol. How can I access only second string out from this, so that my output will be top_sf.
I tried rindex but it doesn't quite give the desired output.
param_value=rindex(strcat(corModelSpec) "t") ;
println(param_value)
Output: "top_sf\"))"
I would like to get rid of brackets and double quotes from the output. Any help would be appreciated. Thanks.
-Sandeep