Skip to content Skip to sidebar Skip to footer

Android- Split URL String

I have a url I would like to split, so I essentially only have 'Dub-Boro - Get Down.mp3' http://dl.dropbox.com/u/**/Week%20of%20July%2025/Dub-Boro%20-%20Get%20Down.mp3 I was thinki

Solution 1:

String[] path = uri.getPath().spit("/");
String mp3 = path[ path.length - 1 ];

Post a Comment for "Android- Split URL String"