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
Explain what is an assembly?
What symbol specifies the beginning of a query string?
What is a multilingual website?
How is application management and maintenance improved in asp.net 2.0?
What are validator? Name the validation controls in asp.net? How do you disable them?
Can we make activex dll also ti execute in some process as that of client ? How can we do?
What is the asp.net control toolkit?
What is ispostback method in asp.net? Why do we use that?
How would you turn off cookies on one page of your website?
How many types of Cookies are available in ASP.NET?
How can you debug your.net application?
what is DLL Hell and how it is solved in .NET? please explain clearly??
Describe how to implement globalization and localization in the use interface in .net.
Are xaml file compiled or built on runtime?
What events will occur when a page is loaded?