171,7 → 171,9 |
} |
|
public static String convertirChaineZoneGeoVersDepartement(String chaineZoneGeo) { |
return (!chaineZoneGeo.equals("000null") && !chaineZoneGeo.equals("")) ? chaineZoneGeo.replaceAll("INSEE-C:", "").substring(0, 2): chaineZoneGeo; |
return (!chaineZoneGeo.equals("000null") && !chaineZoneGeo.equals("") && chaineZoneGeo.replaceAll("INSEE-C:", "").length() >= 2) ? |
chaineZoneGeo.replaceAll("INSEE-C:", "").substring(0, 2) : |
chaineZoneGeo; |
} |
|
public static String convertirChaineZoneGeoVersCodeInsee(String chaineZoneGeo) { |