title: How do I split a string in Rust?
body: <p>From the <a href="https://doc.rust-lang.org/std/primitive.str.html" rel="noreferrer">documentation</a>, it's not clear. In Java you could use the <code>split</code> method like so:</p>
  
  <pre class="lang-java prettyprint-override"><code>"some string 123 ffd".split("123");
  </code></pre>