KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I want to take a string from a textbox (txtFrom) and save the first word and save whatever is left in another part. (the whatever is left is everything past the first space) Example string = "Bob jones went to the store" array[0] would give "Bob" array[1] would give "jones went to the store" I know there is string[] array = txtFrom.Split(' '); , but that gives me an array of 6 with individual words.
Tags (comma-separated)
Save Edits
Cancel