鼯鼠的ASP.NET學習日誌
2015年5月17日 星期日
C#分割字串
string x = 要分割字串.Substring(0,4) ;//從0開始取4碼
string[] x = 要分割字串.Split(',');//遇到逗號分割
沒有留言:
張貼留言
較新的文章
較舊的文章
首頁
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言