Input:http://www.allinterview.com/forms/questionform.php
Output:http://www.allinterview.com/forms/questionform
Write c# program to get the above desired output for the given
Input.....
Answers were Sorted based on User's Feedback
Answer / prem ranjan
string input="http://www.allinterview.com/forms/questionform.php";
string output= input.Substring(0, input.LastIndexOf("."));
Console.WriteLine(output);
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / konangiaparna
string output = input.Substring(0, input.LastIndexOf("."));
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / mallikarjuna016
string input="http://www.allinterview.com/forms/questionform.php";
output= input.Substring(0, input.LastIndexOf(".") + 1);
Is This Answer Correct ? | 1 Yes | 2 No |
How to do parallel database export in remote SQL Server in ESSL time track. It is working for local server but not working for remote SQL Server
With out Web.config can we executes the application?
What is difference between URL and URI?
Explain the asp.net session state modes.
How many validators do ASP.NET have?
What is request and response in asp.net?
Difference between HTML control and Web Server Control?
Is it right that ASP.NET Web API has replaced WCF?
Do you know about caching with the datasource controls?
I need some questions regarding asp.net for 1.5yrs of Experience.
Suppose you want a certain ASP.NET function executed on MouseOver overa certain button. Where do you add an event handler?
what are the events in ASP.net page life cycle?