Java tutorial
//package com.java2s; public class Main { /** * 1a:fe:34:77:c0:00 and 18:fe:34:77:c0:00 are the same BSSID whether the two BSSID is the same ignore the first * * @param BSSID1 * @param BSSID2 * @return */ public static boolean isEqualIgnore2chars(String BSSID1, String BSSID2) { return (BSSID1.substring(3).equals(BSSID2.substring(3))); } }