I came across a problem,
I want to split everything that comes afer ". "
For example, if I have the sentences :
"Danny went to school. it was wonderful. "
I want my output will be
Danny went to school.
it was wonderful.
which I can easily solve it by that :
string[] list = currentResult.Split(new string[] { ". " }, StringSplitOptions.None);
BUT!
what if I have for example :
- Danny went to School. and : 2. James went to school as well.
my output will be :
1.
Danny went to School. and :
2.
James went to school as well
.
I dont want it to split it when there is a number before the dot, for example. Can I solve it somehow ?
Thanks!