hey..now i want to split my output to vertical form.But my output got no any space.So how should i split it to vertical form.
output now:
212132134214
i want split to
2
1
2
1
3
2
1
3
4
2
1
4
Hope someone can help me...thanks ya...
Kath_Fish
0
Junior Poster
Recommended Answers
Jump to PostCheck this out:
string value = "212132134214"; char[] array = value.ToCharArray(); StringBuilder sb = new StringBuilder(); foreach (char str in array) sb.AppendLine(str.ToString()); MessageBox.Show(sb.ToString());
All 3 Replies
Mitja Bonca
557
Nearly a Posting Maven
Kath_Fish
0
Junior Poster
Momerath
1,327
Nearly a Senior Poster
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.