title: Get first name and last name out of a full name QString
body: <p>I have a QT Project where I get the full name as a QString variable <code>fullName</code> from user input.  I'd like to store the first name (<code>firstName</code>) and last name (<code>surname</code>) in their own QString variables by extracting them from <code>fullName</code> .</p>
  
  <p>The user input could end up adding their middle names as well so I need to to work for all kind of examples like that, eg. user input: <code>Barry Michael Doyle</code> would have to give <code>firstName</code> the value of <code>Barry</code> and <code>surname</code> the value of <code>Doyle</code>.</p>
  
  <p>I'm not very good at QString Manipulation as I've only recently started using the Qt Library.  I'd appreciate all the help I could get.</p>