How can we extract a line from a multiLine EditText ?
EditText
I tried this way, but I know that is not a good practice :
String street1 = \"\";
Try this:
String text = streetEt.getText(); String firstLine = text.substring(0,text.indexOf("\n"));