- how to write seperated by comma on reading the data in android
- String[] ans=your_string.split(",");
- et1.setText(ans[0]);
- et2.setText(ans[1]);
- et3.setText(ans[2]);
- String result = one.getText().toString()+", "+two.getText().toString()+", "+three.getText().toString();
- String[] stringArray = string.split(",");