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
Briefly describe the role of global.asax?
What is difference between Lambda Expression and LINQ in ASP.NET?
What are assemblies and namespaces and explain the difference between them ?
What is query string?
Differentiate globalization and localization.
I am trying to implement sorting facility from client side code in GridView Control. So how can I fill up an Array inside client side code (using JavaScript), i want to assign my DataSet object declared and filled up on Server side(in code behind) to the array (on client side)
Define static constructor?
How to implement globalization and localization in the use interface in .net.
What is redirectpermanent in asp.net?
How do you create a master page?
Explain difference between friend and protected friend?
Suppose you want an asp.net function (client side) executed on the mouseover event of a button. Where do you add an event handler?
What is special types forms
What tags do you need to add within the asp:datagrid tags to bind columns manually? Give an example.
Give some salient points of difference between request processor and request dispatcher.