                                    // not ['', 'a', 'a', '']
</code></pre>
<p>If this string is empty, the result is an empty list if <code>pattern</code> matches
the empty string, and it is <code>[""]</code> if the pattern doesn't match.</p>
<pre class="language-dart"><code>var string = '';
string.split('');                       // []
string.split("a");                      // ['']
</code></pre>
<p>Splitting with an empty pattern splits the string into single-code unit
strings.</p>
<pre class="language-d