i have some urls and i simply want to extract the number in bold.
htttp://userserve-ak.last.fm/serve/_/176111/The+Verve.jpg
how can i do that?
EDIT: i've very crudely managed to come up with this....
if anybody has anything tidier??
htttp://userserve-ak.last.fm/serve/_/176111/The+Verve.jpg
how can i do that?

EDIT: i've very crudely managed to come up with this....
Code:
end = urls[i].lastIndexOf("/");
start = urls[i].lastIndexOf("/",end-1) + 1;
num = urls[i].substring(start,end);
if anybody has anything tidier??

Last edited: