Solved

parse the url to extract a string

Posted on 2009-07-07
2
197 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
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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.

813 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now