Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Editable text to string

Tags:

android

How can I convert editable text into string in Android ? Any solution?

like image 594
BIBEKRBARAL Avatar asked Feb 07 '10 06:02

BIBEKRBARAL


People also ask

How do I turn an editable into a string?

Simply use toString() on the Editable instance to get String.

What is editable data type?

This is the class for text whose content and markup can both be changed. This is the interface for text whose content and markup can be changed (as opposed to immutable text like Strings).

What is editable text in android?

Advertisements. A EditText is an overlay over TextView that configures itself to be editable. It is the predefined subclass of TextView that includes rich editing capabilities.


1 Answers

If I understand correctly, you want to get the String of an Editable object, right? If yes, try using toString().

like image 200
Alex Ntousias Avatar answered Sep 19 '22 15:09

Alex Ntousias