Java tutorial
//package com.java2s; import android.widget.EditText; public class Main { public static String gt(EditText e) { return e.getText().toString().trim(); } }