TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
jacobah
NA
9
7.3k
Reverse string including multiline
Aug 31 2011 1:12 AM
Hi
I try to take a string from multi line text box call "ReqText"
Reverse the string, then take him again to the text box
It is works, my problem is that: from multiline text it is became to single line
My code:
char
[] arr = ReqText.Text.ToCharArray();
// converting the textbox to char array
Array
.Reverse(arr);
// reversing the text
ReqText.Text = strReversed;
string
strReversed =
new
string
(arr);
any help?
I try to repeat the reverse string as muliline again
Thanks,
Reply
Answers (
6
)
State management
How to write code with semicolon in recepient while sending email