Community discussions

 
denucup
just joined
Topic Author
Posts: 1
Joined: Sat Apr 07, 2018 6:24 am

script strip ":" at mac address

Sun Dec 16, 2018 4:38 pm

dear all

i create script for simple strip ":" from mac address at dhcp lease
:global leaseActMAC
:for i from=0 to=([:len $leaseActMAC] - 1) do={
:local char [:pick $leaseActMAC $i]
:if ($char = ":") do={
:put [set $char ""]
}
}
but doest work please guide me

Who is online

Users browsing this forum: No registered users and 10 guests