</p>
<p>Finds all the matches of <code>pattern</code> in this string,
and returns the list of the substrings between the matches.</p>
<pre class="language-dart"><code>var string = "Hello world!";
string.split(" ");                      // ['Hello', 'world!'];
</code></pre>
<p>Empty matches at the beginning and end of the strings are ignored,
and so are empty matches right after another match.</p>
<pre class="language-dart"><code>var string = "abba";
string.split(new RegExp(r"b*"));        // ['a', 'a']
    