split string to textview in android
String s = "Some St., Some City, Some post code";
String strings[] = s.split(",");
for(int i = 0; i < strings.length; i++){
strings[i] = strings[i].trim();
strings[i] += ",\n";
}
s = "";
for(int i = 0; i < strings.length; i++)
s += strings[i];