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.....
Answer Posted / 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 |
Post New Answer View All Answers
how to elimainte the similar data from the different tables
What's the use of response.output.write()?
Where can I get the details on migration of existing projects using various technologies to asp.net?
How does u call and execute a sp in .net?
How can we access static variable?
How do sessions work?
Which is the best institute to learn Microsoft Technologies and the faculty if you Know?
witch is the best insistute in sharpoint course.what abt future of share point course.
What are asp.net web forms?
What is the namespace to create thread in .net?
What are the different authentication modes in asp.net?
What is state management react?
how to include timer or counting time to display next page in asp.net
What is the good practice to implement validations in aspx page?
Why do I get error message "could not load type" whenever I browse to my asp.net web site?