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.....
Answer Posted / 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 |
Post New Answer View All Answers
What is application Object?
Difference between using directive vs using statement?
What are the different web pages?
Explain the asp.net mvc request life cycle? : asp.net mvc
Which platform does Microsoft .NET use for exchanging data between applications?
Can any body provide me the sample web application in asp.net
How do u declare static variable and how it is declared and what is its lifetime?
What is bson in web api?
What is a url string?
Define repository pattern in mvc.net? : asp.net mvc
In which event of the page life cycle, is the viewstate available?
What is meant by server side scripting?
What is Difference between Production Serves and Development Servers? And Suppose, m adding/deleting C# file in a project based on the Specific Requirement. These Files are Automatically updated in Production Servers? So Which tool is needed to do This One?
How long do session variables last?
Explain the concept of event bubbling in ASP.NET?