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 |
When we do partial refresh of a page using update panel how server knows it(which event occurs?)
Security types in ASP/ASP.NET? Different Authentication modes?
4 Answers QuadLabs Technologies,
Name the validation control available in asp.net ?
Difference between ADO.net Dataset , ADO Record Set & ADO Data Reader?
How do I use response redirect?
Explain about solution explorer window?
What are the different types of Session state management options available with ASP.NET?
What is rich control in asp.net?
What are the modes of updation in an updatepanel?
How does asp net store session ids by default?
How many types of triggers are there in update panel?
How can we pass info between 2 asp.net pages?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)