0

I use Jsoup for parsing web data , my code like this:

Document document = Jsoup.connect("http://www.nt-movie.com.tw/showtime.php").get();

Elements elements=document.select("li");

for (Element elementTime : elements){
                    String time=elementTime.getElementsByClass("times gray33").text();
                    String spiltTime[]=time.split("");
                    Log.d("time",spiltTime.toString());
                }

When i haven't split time , it show like the photo: enter image description here I try to split time , it becomes to... enter image description here

I want to let it shows like:

10:00

11:00

12:10

. . .

My question is that do i split time successfully or not ? Any help would be grateful, thanks.

Morton
  • 5,380
  • 18
  • 63
  • 118

0 Answers0