How to remove anything from string after whitespaces in java
<p>I have a String like this: <code>12/16/2011 12:00:00 AM</code><br>
now i want to show only date part i.e <code>12/16/2011</code> on Textview<br>
and remove the other part. What shall i need to do for this??  </p>

<p>Any help will be appricated
Thanks.</p>
