摘要:
毕竟Substring()还是有所不同的。那就自己写一个吧!在cs文件中:static public string Left(string str, int L) { string tmpStr; tmpStr = str; if (str.Length > L) { tmpStr = str.Substring(0, L) + "..."; } return tmpStr; }在aspx文... 阅读全文
posted @ 2008-05-27 21:38
Silent's Blog
阅读(450)
评论(0)
推荐(0)