troubleshooting Question

Loading data from SQL into Overlib and identifying and replacing breaks

Avatar of wilcor14
wilcor14Flag for United States of America asked on
Web Languages and Standards
2 Comments1 Solution236 ViewsLast Modified:
Users can enter info in a text field that gets loaded to a sql database. In the text box the content would look something like this:

saying something first
saying something second

saying something third with line in between

In the database it looks like this:

 saying something first   saying something second      saying something third with line in between

How do I recognize the breaks and then replace them in the following line

<A onmouseover="return overlib('<B>Philosophy:</B><BR><%# CStr(Container.DataItem("SaySomething")).Replace("'", "\'").Replace("""", "&#34;") %>');" onmouseout="nd();" href="javascript:;"><IMG border="0" src="/images/Philosophy.gif"></A>

thanks for your help
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 2 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros