SyntaxFix
Write A Post
Hire A Developer
Questions
import android.net.Uri; Uri uri = Uri.parse("http://example.com/foo/bar/42?param=true"); String token = uri.getLastPathSegment();