Splitting string into two separate parts
<p>Say I have a string that contains a domain: </p>

<pre><code>var domain = "http://google.com";
</code></pre>

<p>Each time the script runs, I would like to break this script into two parts at random.</p>

<p>So if I were to run it the first time, it could give me these results:</p>

<pre><code>part 1: http://go
part 2: ogle.com
</code></pre>

<p>The second run would produce:</p>

<pre><code>part 1: http://goog
part 2: le.com
</code></pre>

<p>at complete random each time.</p>

<p>How can I accomplish this? </p>
