@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
TextView txt1 = (TextView) findViewById(R.id.txt1);
TextView txt2 = (TextView) findViewById(R.id.txt2);
TextView txt3 = (TextView) findViewById(R.id.txt3);
TextView txt = (TextView) findViewById(R.id.txt4);
String myStringValue = "Android programming is fun.";
txt1.setText(myStringValue);
txt2.setText(myStringValue.charAt(0) + "");
}
i want to choose more than one character in charAt().