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 the difference between equals() and == in c#?
Explain about asp.net caching?
How will create assesblies at run time?
Explain the path instructions in xaml?
Explain the steps needed to be performed in order to create an animation in xaml?
In the Repeater control which way you can edit?
What is the Intermittent crashing of application in production?
How do you store a value in viewstate and retrieve them?
Why we use dbms for projects? Why don’t we save any application data in separate files instead of dbms?
Where code pages are used?
How would you create a permanent cookie?
Can I have a unique key as foreign key?
Is asp.net mvc front end or backend? : Asp.Net MVC
What is web api config?
What is the difference between stored procedure vs function?