What I am wondering is ...
How would I write an IF statement around a corrupt MAC address? ex. on occasion the network card can show ok in device manager but the mac address is either all "FF-FF-FF-FF-FF-FF" or Ive seen "AA-AA-AA-AA-AA-AA" I need to detect that the mac has all the same characters but I cant see myself writing a different IF statement for every possible A-Z combination is there a way to find from a string that all characters are the same? maybe to cut up the string since it should only come back as one set/word if (character) ch1 = ch2 and ch1 = ch3 and ch1 = ch4 etc...point me in the right direction here,,,,,
How would I write an IF statement around a corrupt MAC address? ex. on occasion the network card can show ok in device manager but the mac address is either all "FF-FF-FF-FF-FF-FF" or Ive seen "AA-AA-AA-AA-AA-AA" I need to detect that the mac has all the same characters but I cant see myself writing a different IF statement for every possible A-Z combination is there a way to find from a string that all characters are the same? maybe to cut up the string since it should only come back as one set/word if (character) ch1 = ch2 and ch1 = ch3 and ch1 = ch4 etc...point me in the right direction here,,,,,
Comment