Forum Discussion
Kai_Wilke
Feb 03, 2017MVP
Hi Sukumar,
how about using a
[split]
command which splits the input MAC on both the ":" or "-" char at the same time...
set radname1 "2C:1F-23:45-3B:1E"
set macparta [[lindex [split $radname1 ":-" ] 5 ]
Cheers, Kai