Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
7
Answers
Erase stuff from string
Raul Junc
13y
2.2k
1
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");
Post
Reset
Cancel
Answers (
7
)
Next Recommended Forum
Capturing screen shot from webBrowser control in C#
Encrypted Data copying