I consulted my brother-in-law who offerred this up and it did the trick.
'Check to see if line was split and last character duplicated
If UBound(IPStringOut) < 7 Then
If i < UBound(TempDetailsA) Then
If StrComp(Right(TempDetailsA(i), 1)...
I understand that (or think i do), is there a way to have it pick up where it left off? Or check for the presence of an element 1 before trying to set the variable equal to it?
Given the following input:
IP: 10.0.0.1 MAC: 00:11:22:33:44:55
computername.dns.root
IP: 11.0.0.1 MAC: 00:11:22:33:44:56
computer2.dns.root
the below script works great, however when the input is corrupted from another process and the data comes out:
IP: 10.0.0.1 MAC: 00:11:22:33:44:55...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.