Reputation: 868
I have to extract only this url out of a list 3-4 urls
Url = http//:downloadXXX.megastuff.com/XXXXXXXXXXX
other urls belong to different domain. for ex
http//:zep.vipk.com/XXXx
I need to do this in android with
if (url.contains("http://www."))
{ then do something }
Sorry if the question is noobish, I just started with java.
Upvotes: 0
Views: 172