I need the part of a message starting with the GT1. What i would like to do i be able to concat this onto another message. How would I rejoin this part of my original use for later
set segList [split $SITE_ADT_msg r]
set SITE_ADT_GT1_loc [lsearch -regexp $segList {^GT1}]
echo GT1 SITE_ADT_GT1_loc $SITE_ADT_GT1_loc
set GT1_to_end
]