Solved

parse the url to extract a string

Posted on 2009-07-07
2
201 Views
Last Modified: 2012-05-07
i need a function which parses a url

e.g if the url is : http://testweb/p/user/default.aspx?key1=abcd&key2=asdf
or if its: http://www.testweb/p/user/default.aspx 

then I want to extract
1. "p/user/default.aspx"
2. "p/user/"
3. "default.aspx"
4. "abcd", "asdf"
0
Comment
Question by:manivineet
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 15

Expert Comment

by:jinal
ID: 24800416
Hello ,
Please explain more about this.
Like which part if you want ...
for example if input is http://testweb/p/user/test1/test/default.aspx?key1=abcd&key2=asdf
what should be the output ?
 
0
 
LVL 15

Accepted Solution

by:
David L. Hansen earned 500 total points
ID: 24803797
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question