I have a list containing one member, that member is the string <cmd_stichstudy1>XXDDR0_MA[12]
. When I search for that string in the list (using lsearch
) I get that the list doesn't contain it. I even get it when I search for the member of the list:
tcl> set nets_names
{<cmd_stichstudy1>XXDDR0_MA[12]}
tcl> lsearch $nets_names [lindex $nets_names 0]
-1
Why does this happen?