MySQL Forums
Forum List  »  Newbie

Re: extra line and carraiage return \r\n\r\n added to data
Posted by: darren l
Date: September 13, 2004 03:31PM

hello ram,

thanks for that. I am just wondering how I can implement TRIM into my jsp.

For my resultset i have

ResultSet rs1 = stmt.executeQuery("select * from "+Dbase+ " where TLP='" + Page + "'");

how can i add trim to this statement?

the textfield that is effected is
Body_big = (rs1.getString("Body_big")!=null)?rs1.getString("Body_big"):"";

do i apply trim to the select and thereby the who recordset or to the string?

thanks again

Options: ReplyQuote


Subject
Written By
Posted
Re: extra line and carraiage return \r\n\r\n added to data
September 13, 2004 03:31PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.