Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

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] += ",
";
      }
      s = "";

      for(int i = 0; i < strings.length; i++)
        s += strings[i];
 
PREVIOUS NEXT
Tagged: #split #string #textview #android
ADD COMMENT
Topic
Name
5+4 =