Split string from text file but only use some of it for analysis
<p>I have a <code>txt</code> file with the following in</p>

<pre><code>Jordan: your pin is at 1257
Harry: your pin is at 1390
</code></pre>

<p>How can I use split but then only use the name and pin to print out on screen and ignore the rest of it? E.g</p>

<pre><code>For J in file:
    A,b,c,d,d,f,g = J. Split
    Print(a,g)


Jordan 1257
Harry 1390
</code></pre>