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 |
1. Briefly describe your ideal job?
1 Answers Swatz Oils, Swetz Oil,
Explain what is event bubbling?
How long the items in ViewState exists?
0 Answers SwanSoft Technologies,
How is a property designated as read-only?
Will the asp.net validators run in server side or client side? How do you do client-side validation in .net?
What is the difference between ASP and ASP.NET?
4 Answers Sans Pareil IT Services, TCS,
what is the use of untyped data set ?
What are the types of authentications in ASP.NET?
2 Answers Accenture, BirlaSoft,
What does it mean your session has timed out?
what is Versioning in asp.net and how it maintain in any web application
What is the namespace used to store the information about the user?s locale?
What is the basic difference between asp and asp.net?