Forum Discussion

Matt_Breedlove_'s avatar
Matt_Breedlove_
Icon for Nimbostratus rankNimbostratus
May 23, 2014

Splitting a delimited string into multiple variables in one line with TCL split versus GetField

This is a breeze to do in perl... $string=="blah1-blah2-blah3"; ($field1, $field2, $field3) = split(/-/,$string,3); In TCL there is the split function, but I don't see any references to assig...