What if I want to split a string using a delimiter that is a word?

For example, This is a sentence.

I want to split on is and get This and a sentence.

In Java, I can send in a string as a delimiter, but how do I accomplish this in C#?

10 Answers
10

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *