function huanhang(_str){
result += str[i];
if((i+1) % n== 0)
result += "\r\n";
}
return result;
}
var str = _str, result = "";
var n=10;//指定第n位换行
for(var i=0,len=str.length;i<len;i++){result += str[i];
if((i+1) % n== 0)
result += "\r\n";
}
return result;
}