Split string when ";" appears : <p>I need to split the string everytime <code>;</code> shows up.</p>

<pre><code>words = "LightOn;LightOff;LightStatus;LightClientHello;"
</code></pre>

<p>Output should be something like this:</p>

<pre><code>LightOn
LightOff
LightStatus
LightClientHello
</code></pre>

<p>Simply, everytime it finds <code>;</code> in a string, it has to split it.</p>

<p>Thank you for help</p>
