String newstr = 需要被截取的源字符串.substring(0, 15)+"……";
var str="Hello world!"document.write(str.substr(3))输出lo world!
你可以用javascript代码写 substring(startIndex,endIndex);