title: In Swift, can you split a string by another string, not just a character?
body: <p>In Swift, it's easy to split a string on a character and return the result in an array.  What I'm wondering is if you can split a string by another string instead of just a single character, like so...</p>
  
  <pre><code>let inputString = "This123Is123A123Test"
  let splits = inputString.split(onString:"123")
  // splits == ["This", "Is", "A", "Test"]
  </code></pre>
  
  <p>I think <code>NSString</code> may have a way to do as much, and of course I could roll my own in a <code>String</code> extension, but I'm looking to see if Swift has something natively.</p>