util_ldelete list value
deletes value from the list
Source code:
set ix [lsearch -exact $list $value] if {$ix >= 0} { return [lreplace $list $ix $ix] } else { return $list }