1
Answer

how to pick the part of string from URL

Prabhakar Reddy

Prabhakar Reddy

12y
1.4k
1
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)