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
How you can return View from ASP.NET Web API method?
What is the procedure to handle the process request using mhpm events fired? : asp.net mvc
What is difference between view and partial view?
What’s difference between “optimistic” and “pessimistic” locking?
What is the difference between web config and machine config files?
Describe session handling in a webfarm?
Explain diff. Between friend and protected friend?
What are the various types of cookies in asp.net?
How do you declare static variable? What is its lifetime?
What is the procedure to create the environment for asp.net? : asp.net mvc
Explain the role of global.asax?
What is the difference between union and join?
How does session id work?
What are the advantages of the code-behind feature?
How will you maintain versioning in asp.net 2.0?