标签:
if (docName.length > 16) { docName = docName.substring(0, 7) + "…" + docName.substring(docName.length - 7, docName.length); }
上传文件过长中间显示省略号
原文地址:http://www.cnblogs.com/muwei/p/4894232.html