Accessing element of a split string in R
<p>If I have a string, </p>

<pre><code>x &lt;- "Hello World"
</code></pre>

<p>How can I access the second word, "World", using string split, after</p>

<pre><code>x &lt;- strsplit(x, " ")
</code></pre>

<p>x[[2]] does not do anything.</p>