C# Split用法

 

string FullName = "中国/江苏省/南京市/鼓楼区";
String[] splitAddress = FullName.Split('/');
string qm= splitAddress[splitAddress.Length-1]; //鼓楼区

 

posted @ 2017-08-01 17:18  淘来的星湖  阅读(129)  评论(0编辑  收藏  举报