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 / konangiaparna

string output = input.Substring(0, input.LastIndexOf("."));

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How about the security in Activex DLL and Activex EXE ?

1780


Where do the cookie state and session state information be stored?

502


What is web api and why to use it?

552


Describe in brief .net framework and its components.

540


Define caching.

620






Where would you use an ihttpmodule, and what are the limitations if any?

517


What is dynamic web page with example?

518


What is http protocol and how it works?

523


What are sessions and cookies?

560


What’s the use of “GLOBAL.ASAX” file?

594


What is the life-span of the items in the viewstate?

492


How is application management and maintenance improved in asp.net 2.0?

533


If you are using two select queries and retrieving data. how do you access second query's result set using data reader?

4737


What is the difference between server-side scripting and client-side scripting?

542


calling result set one procedure to anothar procedure in sql2000

1332