I want to set an editable text field to display the first letter of a string and I cannot figure out how. I have tried the following way and don't get any errors but it doesn't work. I want to make is the first letter of a string within an array of strings and I can recall the correct string index but not the first letter of that particular string.
String s = "Example" ;
char letter = s.charAt (0);
editText.setText (letter);
Thanks