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
Marius Vasile
590
1.9k
148.6k
asp.net core split a string in two strings
Jan 19 2021 6:14 PM
Ok, my next challenge is to split a string into two other strings. I see how to split a string but how do I get the two string separately
string test = Mercedez-Benz
string[] testSplit= test.Split("- ");
but now, how do I get
string1 = Mercedez;
string2 = Benz;
What if string2 is int? Can I transform it to int with Int32.Parse?
Reply
Answers (
5
)
asp.net core duplicate entry catch error
How to increase Session timeout in C# MVC web application?