Here you can find the source of trimEditTextInput(EditText editText)
public static String trimEditTextInput(EditText editText)
//package com.java2s; import android.widget.EditText; public class Main { public static String trimEditTextInput(EditText editText) { return editText.getText().toString().trim().toLowerCase(); }/* www.j a va 2s .c o m*/ }