Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

how to elimainte the similar data from the different tables

2173


What's the use of response.output.write()?

1274


Where can I get the details on migration of existing projects using various technologies to asp.net?

1095


How does u call and execute a sp in .net?

994


How can we access static variable?

1099


How do sessions work?

945


Which is the best institute to learn Microsoft Technologies and the faculty if you Know?

2151


witch is the best insistute in sharpoint course.what abt future of share point course.

3466


What are asp.net web forms?

1017


What is the namespace to create thread in .net?

946


What are the different authentication modes in asp.net?

1020


What is state management react?

1031


how to include timer or counting time to display next page in asp.net

2157


What is the good practice to implement validations in aspx page?

1111


Why do I get error message "could not load type" whenever I browse to my asp.net web site?

1161