当前位置:首页 > 字符串分割

省市选择器

小道6年前 (2018-08-22)C#学习2889
省市选择器
省市选择器        private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)/...

字符串的分割:从日期字符串("2008-08-08")中分析出年、月、日;

小道6年前 (2018-08-20)C#学习3990
字符串的分割:从日期字符串("2008-08-08")中分析出年、月、日;
string[] Split(params char[] separator):将字符串按照指定的分割符分割为字符串数组;string[] Split(char[] separator, StringSplitOptions options)将字符串按照指定的char分割符分割为字符串数组( opt...