标签:
private void button1_Click(object sender, EventArgs e)
{
string s=textBox1.Text.Trim();
int idex = s.IndexOf("\\");
while (s.IndexOf("\\")!=-1)
{
textBox2.AppendText(s.Substring(0, s.IndexOf("\\")));
s = s.Substring(s.IndexOf("\\") + 1);
}
textBox2.AppendText(s);
}
标签:
原文地址:http://www.cnblogs.com/-slient/p/5116638.html