How do I split a string by a multi-character delimiter in C#?

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

Leave a Comment