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 would you get asp.net running in apache web servers?
What are the types of validation in asp net?
RequiredFieldValidator--write code in javascript
what is clr . how we access them?
How many web.config files in each solution
Elaborate differentiation between ViewState and SessionState?
What is the maximum number of classes that can be contained in one dll file?
after which page life cycle event all properties of control will be "fully loaded "
Which object wraps the state or data of a user?
Briefly describe different techniques for ASP.NET State Management?
6 Answers Deloitte, Syntax Softtech,
Which class is used to send an email message from an ASP.NET Web page?
0 Answers Sans Pareil IT Services,
detail code for sql data connections?
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)