15 identity card number turned 18

xiaoxiao2021-03-06  105

C # version function ID15T18 (strTemp) {var arrit = new Array (7, 9, 10, 5, 8, 4, 2, 1, 6, 3, 7, 9, 10, 5, 8, 4, 2); VAR Arrch = new array ('1', '0', 'x', '9', '8', '7', '6', '5', '4', '3', '2'); VAR ntemp = 0, i; if (strTemp.Length == 15) {straTemp = strTemp.substr (0,6) '19' strtemp.substr (6, strTemp.length-6); for (i = 0 i

转载请注明原文地址:https://www.9cbs.com/read-101674.html

New Post(0)