Results 1 to 2 of 2
Thread: Trimming URL
- 03-10-2009, 05:10 PM #1
Member
- Join Date
- Feb 2009
- Posts
- 18
- Rep Power
- 0
Trimming URL
I would like to trim some specific strings in my url string.
Say I get an input url which will be accepted and stored in some string variable.,
Eg. "// en.wikipedia.org/wiki/Japan"
Then all I want to get as my output is : Japan
And same if the input url is like: "// .amazon.com/index.html" then all I want to get as my output is: index.html
Can I do this? If so, how?
Thanks in advance.
- 03-10-2009, 05:17 PM #2
Senior Member
- Join Date
- Aug 2008
- Posts
- 384
- Rep Power
- 5


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks