分割出来的字符串是放在那个地方,怎么引用啊?
<script type="text/javascript">
var mystr="86-010-85468578";
document.write(mystr.split("-") + "<br />");
document.write(mystr.split("")+"<br />");
document.write( mystr.split("",3 ));
</script>
<script type="text/javascript">
var mystr="86-010-85468578";
document.write(mystr.split("-") + "<br />");
document.write(mystr.split("")+"<br />");
document.write( mystr.split("",3 ));
</script>
2016-05-19
举报