Parsing string and getting value in TCL
<p>I've string like this a sample one  what I need is parse through the string and get the value of a parameter  for example value of -type is Eth, so just the string next to the string I give.</p>

<p>card-1-3-1   3   -Number  2  -type  Eth  -config   Yes  -GEPorts 3</p>