Tech
Forums
Jobs
Books
Events
Live
Interviews
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
7
Reply
Erase stuff from string
Raul Junc
Mar 21 2011 7:01 PM
2.2k
Reply
Hello
I have this code:
string s;
s = "12345 ";
How can i delete that space from my string?
I want to obtain true from this if:
if(s == "12345")
MessageBox.Show("It's correct!");
else
MessageBox.Show("Wrong");
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
7
)
Next Recommended Forum
Capturing screen shot from webBrowser control in C#
Encrypted Data copying