1
Reply

how to pick the part of string from URL

Prabhakar Reddy

Prabhakar Reddy

Aug 24 2012 1:23 AM
1.4k
HI,
Good Morning!!

http://www.hellohyderabad.com/hyderabad-guide/localities/abids/

I have url like this, in this i need to pick the last string means locality(abids) and i have  to append that last string to my database query, so pls help to me ,
how to pick and append that string to my database query.

Thank you.




Answers (1)