- Регистрация
- 01.02.2012
- Сообщения
- 4 812
- Благодарностей
- 1 187
- Баллы
- 113
Using some C# to split string into words, but getting just first word instead of list of words...
My code:
My code:
Код:
string s = "there is a cat";
string[] words = s.Split(' ');
foreach (string word in words)
return word;