摘要: public static string Truncation(this HtmlHelper htmlHelper, string str, int len) { if (str == null || str.Length == 0 || len <= 0) { return string.Empty; } int l = str.Length; #region 计算长度 int clen = 0; ... 阅读全文
posted @ 2012-06-07 12:59 火拳阿飞 阅读(503) 评论(0) 推荐(0) 编辑