title: Split String FullName
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/225337/how-do-i-split-a-string-with-any-whitespace-chars-as-delimiters">How do I split a string with any whitespace chars as delimiters?</a>  </p>
  </blockquote>
  
  
  
  <p>I need to split full name so I return just the surname.</p>
  
  <p>For example F. J. Hill (we assume that last name is always after first name or after initials)</p>
  
  <p>so this is what i got so far</p>
  
  <pre><code>public String getLastName(){
      String surname;
      surname = FullName.split;
  }
  </code></pre>
  
  <p>but this doesn't work. Can i get some help please ? Dont really understand how split string works</p>