title: Keep multi-character delimiter
body: <p>I have a string</p>
  
  <pre><code>$string = "hi!n!my!n!name!n!is!n!bob";
  </code></pre>
  
  <p>I want to split it by the '!n!'
  I've tried something like:</p>
  
  <pre><code>$splitstring = preg_split("!n!", $string,-1, PREG_SPLIT_DELIM_CAPTURE);
  </code></pre>
  
  <p>but it removes all instances of 'n' instead of !n!
  so if i <code>print_r</code> the array, it'll look something like:</p>
  
  <pre><code>Array(
  [0]=&gt;hi!
  [1]=&gt;!my!
  [2]=&gt;!
  [3]=&gt;!ame!
  [4]=&gt;!is!
  [5]=&gt;!bob
  )
  </code></pre>
  
  <p>it would split every occurrence of 'n'. not !n! (a 3 character delimiter) like I wanted.</p>
  
  <p>Does anyone know how to solve this? Thanks in advance</p>