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.....
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / konangiaparna
string output = input.Substring(0, input.LastIndexOf("."));
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / 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 |
How many Garbage Collectors are there for one Application or one Page
Define page output caching?
What definition correctly defines a label server control with the name set to lblHoop? a) <asp:Label name=?lblHoop? runat=?server? /> b) <Label id=?lblHoop? runat=?server? /> c) <asp:Label id=?lblHoop? runat=?server? /> d) <server label name=?lblHoop? runat=?asp? />
What is difference between view state and session state?
When is validation done on the client? How does client-side validation improve the efficiency of an application?
What is xaml? Are xaml file compiled or built on runtime?
How To Call Outside Javascript File? Example : Our Project File Folder Name "Sample" Another Folder Name "Check".Check Folder Is Out Side Of Our Project ?Check Folder Have Verify.Js File. My Question Is How To Call Verify.Js File.
3 Answers Consagous, Phoenix Technologies,
Details on web.config and global.asax - just explain what are the sections will be there.
Explain how caching in asp.net 2.0 is different from caching in asp.net 1.1?
What is meant by web application?
Can we make activex dll also ti execute in some process as that of client ? How can we do?
What is the behavior of a Web browser when it receives an invalid element?