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
Solamain Loch
NA
3
0
Breaking up a string
Jun 4 2008 8:26 PM
First, I would like to apologize if the answer to my question is common knoledge, but as I am new to C# it seems that I no longer have any common sence let allone common knoledge.
Ok, put really simply I need to know the quickest/best way to separate the first word in a sentence from the rest of the sentence, and have each stored in a different string.
For example,
Start with:
Sentence = "This is the sentence I want to split up."
and end up with
String1 = "This"
String2 = "is the sentence I want split up"
The reason I am looking for the quickest way to do this is that it is something the program I am working on will have to do constantly, so any little bit of time saved will add up quickly.
Reply
Answers (
2
)
Unable to convert String to Double[]
can anyboby help me plsssssssss