Can anyone help with a little code i want to make array which first index will have first word of textbox text:
array[0] first word of text array[1] second word of text
can anyone help me?
|
You can replace the str with TextBox.Text... |
|||||
|
Use the It will split your string by a character specification to a string array ( For example:
|
|||||||||
|
If they are seperated by spaces :
|
|||
|
There's a very simple way of doing this:
|
|||
|
U can use the split method,it gets a string array back,you need to pass a char array with the characters to split upon:
|
|||
|
use .Split() method like this:
|
|||||||||||||||||
|