Разбить строку через запятую
Я пытаюсь получить четыре укуса от
His duty to write a computer program, he did not do it very well, I gave him a score of 5, I hope he do better next time.
string one = His duty to write a computer program string two = he did not do it very well string three = I gave him a score of 5 string four = I hope he do better next time the length of the string will vary that is why I am using the comma(,) to know where to split it.
Что я уже пробовал:
string edit; edit = LBDuties.SelectedValue.ToString(); string[] Duties; Duties = edit.Substring();
Patrice T
А у вас есть вопрос ?