摘要: public static string StringTruncat(string oldStr, int maxLength, string endWith){ // 判断原字符串是否为空 if (string.IsNullOrEmpty(oldStr)) return oldStr + endWith; // 返回字符串的长度必须大于 1 if (maxLength < 1) throw new Exception("返回的字符串长度必须大于 [0] "); // 判断原字符串是否大于最大长度 if (oldStr.L... 阅读全文
posted @ 2012-10-13 21:25 shineme 阅读(737) 评论(0) 推荐(0) 编辑
摘要: moneybrace.com/http://www.hecard.com.cn/ 阅读全文
posted @ 2012-10-13 16:56 shineme 阅读(325) 评论(1) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2012-10-13 16:44 shineme 阅读(2) 评论(0) 推荐(0) 编辑