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 / 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 |
Post New Answer View All Answers
What are the differnt types of handler in ASP.NET?
What is manifest in .net framework?
Can we add code files of different languages in app_code folder?
What is the difference between an htmlinputcheckbox control and an htmlinputradiobutton control?
What are the differences between application object and session object?
What are web beacons used for?
What is a web pool?
Are cookies stored on server or client?
Contrast oop and soa. What are tenets of each16. How does the xmlserializer work? What acl permissions does a process using it require?
How can we prepairing Interview
How does u call and execute a sp in .net?
Mention few asp.net validators.
What is session and application variable in asp net?
What do you understand from custom control?
Explain about the .NET framework?