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 |
Singleton Design pattern?How do you achieve it?
What are the different Key TreeView Properties in Asp.net 2.0?
How do you enable tracing? a) Set the Trace property of the Web Form to True b) Set the Trace property of the server object to True c) Set the Session variables Trace to True d) Set the Applications Variable Trace to True.
What is asp.net introduction?
What is the use of mcommand ? mcommand.fill(ds,"orderdetails");
Why is it preferred to not use finalize for clean up?
Features and disadvantages of dataset ?
4 Answers Interlink, Microsoft,
What is Cookies Less Session?
Give an example appropriate use forweb service as opposed to a non-serviced .NET component
extensibility in asp.net2.0
Is asp.net and .net same?
What is meant by ispostback in asp net?
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)