标签:style io ar sp cti on c new r
var str="ralkhasdlfho";
var newStr;
function change(str){
newStr=str.substring(0,1).toUpperCase()+str.substring(1);
}
change(str);
document.write(newStr);
</script>
标签:style io ar sp cti on c new r
原文地址:http://www.cnblogs.com/qinxuemei/p/3967298.html