Substring array element when a char is uppercase
<p>I'm having a problem with an array in javascript. I have this array:</p>

<pre><code>Subjects[]:
[0] = 'Introduction to interesting things'
[1] = 'Cats and dogs'
[2] = 'I can't believe it's not butter Á machine lord'
[3] = 'I Intergalactic proton powered advertising droids '
</code></pre>

<p>As you can see, in Subjects[2], there are 2 strings</p>

<pre><code>'I can't believe it's not butter' and 'Á machine lord'
</code></pre>

<p>Also, in Subjects[3], the string starts with 'I', which is supposed to be</p>

<pre><code>'Á machine lord I'.
</code></pre>

<p>Is there a way to cut the string where the uppercase starts and create a new index for the string? Like this:</p>

<pre><code>Subjects[]:
[0] = 'Introduction to interesting things'
[1] = 'Cats and dogs'
[2] = 'I can't believe it's not butter'
[3] = 'Á machine lord I'
[4] = 'Intergalactic proton powered advertising droids'
</code></pre>

<p>I have tried using <code>.split</code> with no success. Any help will be usefull.</p>
