Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

split string to textview in android

String data = "1,Diego Maradona,Footballer,Argentina";
String[] items = data.split(",");
for (String item : items)
{
    System.out.println("item = " + item);
}
 
PREVIOUS NEXT
Tagged: #split #string #textview #android
ADD COMMENT
Topic
Name
5+4 =