title: Split a string by two strings
body: <p>In Java you can easily do something like this :</p>
  
  <pre><code>String[] result = input.split("AAA|BBB");
  </code></pre>
  
  <p>Which means that if you have an input like this : </p>
  
  <pre><code>sssAAAvvvBBBuuu
  </code></pre>
  
  <p>the result will be like this :</p>
  
  <pre><code>sss
  vvv
  uuu
  </code></pre>
  
  <p>What is the best way to do this in c#, I know you can hardly split a string by another string in c# : </p>
  
  <pre><code>string[] result = input.Split(new string[] { "AAA" }, StringSplitOptions.None);
  </code></pre>
  
  <p>But how about splitting a string with two strings AAA and BBB ? </p>