Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
1
Reply
using split() method in c# , i split the word using space
deva nathan
Nov 20 2012 12:27 AM
1.7k
Reply
this is the program
string[] words = TextBox1.Text.Split(' ');
string fName = words[0];
string lName = words[1];
TextBox2.Text = fName.ToString();
TextBox3.Text = lName.ToString();
i split the two word using space , but in a single word it have some error like "Index was outside the bounds of the array." then how to solve it
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
Tool to Validate ePub
How to change the color of the title bar of a form in c# winforms ?