怎麼把richTextBox1中的身份中提取出來放到richTextBox2
private void button3_Click(object sender, EventArgs e)
{
string str = richTextBox1.Text;
string[] lines = str.Split(new string[] { "\r\n" }, StringSplitOptions.None);
for (int i = 0; i < lines.Length; i++)
{
Console.WriteLine(lines[i]);
string[] linecell = lines[i].Split(new char[] { ',' });
richTextBox2.Text = richTextBox2.Text + "\r\n" + linecell[2];
}
}