經安全檢測,此網站為安全網站,請放心前往原始網址!

[C#][字串](note)字串函數(1) - 無商不雅- 點部落

string a =DropDownList1.SelectedItem.ToString(); Regex r = new Regex("[a-zA-Z]"); TextBox3.Text = r.Replace(a,""); 取字串後面想要的字(從右側開始取字串) string name =DropDownList1.SelectedItem.ToString(); name.Substring(name.Length - 3); //取 ...

www.dotblogs.com.tw

網址安全性掃描由 google 提供