试试这个吧。不过仅IE浏览器支持。一二三四五六七八九十后面不要了
str="dlkdladldddddd"if len(str)>10 then str=left(str,10)+"..." end if
也想知道。看看有没有高手来说明下。