摘要:
public static string SubStr(string sString, int nLength) { if (sString.Length <= nLength) { return sString; } string newStr = sString.Substring(0,nLength); newStr = newStr + "..."; return newStr; } 阅读全文
posted @ 2012-11-22 10:13
Liu66~
阅读(204)
评论(0)
推荐(0)