Author: Khushbu84 | Posted on: 8/19/2008 2:31:04 PM | Views : 470

First Step: 

When a user enters a string into a text box , he also hits 'Enter' button (which is not supposed according to thee rule of that page) and the text enterd into the textbox is stored into the database as soon as he clicks on submit button. For example: text is enterd like:

My name is

Peter.

 Second Step:

Now I want ot display the string entered in 1st step like: My name is Peter.

After getting the string from the database, I just want to remove \r and \n character from the string and display them on the screen.

I dont want to make any change at database. I dont know which string function woould be appropriate to use.

Can anyone help me out?

 
...

Go to the complete details ...