标签:
//js反转字符串 var strE = "8859885-沪A"; var strB = ""; for (var i = strE.length; i>=0;i--) { strB =strB+strE.charAt(i); } alert(strB);
弹出结果:A沪-5889588
js字符串反转
原文地址:http://www.cnblogs.com/AndyCf/p/5207539.html