hi,I work using window form C#, my problem is as below:
output += myArray1[prune];
string ipt = null;
while ((ipt=re.ReadLine()) != null)
{
string ListSplitLineByLine1 = "";
String[] SplitItemLineByLine2 = (ipt).Split(new string[] { "\n\r\t", " " }, StringSplitOptions.None);
foreach (string lineByLine1 in SplitItemLineByLine2)
{
ListSplitLineByLine1 += "\r\n" + lineByLine1;
}
StoreRoom.Text = ListSplitLineByLine1.Trim();
}
I wan split the the string "12345" become line by line as below:
1
2
3
4
5
However after i execute it still the same, what is the problem of my coding?