title: Splitting a string at a certain substring?
body: <p>I am writing the beginning stages of some code which I will expand on in the next few months. The part I am working on now just takes a string. I have this down, but I want to split the string at a certain place:"(li)". So far I have:</p>
  
  <pre><code>String[] s = n.split("(li)")
  </code></pre>
  
  <p>But this is not compiling. The error says: </p>
  
  <pre><code>Error: cannot find symbol
  symbol:   method split(java.lang.String)
  location: variable s of type java.lang.String[]
  </code></pre>