Remove blank spaces from email and password get by EditText
<pre><code>EditText recEmail=(EditText)findViewbyId(R.id.email);
EditText recPassword=(EditText)findViewbyId(R.id.password);
String email=recEmail.getText().toString();
String password=recPassword.getText().toString();
</code></pre>

<p>The email and password contains the white spaces at start,in or end of string if tab is pressed by mistake.</p>

<p>I need text out of white spaces, please help if you can.</p>

<p>Thanks in advance....!!!</p>
