Posted By

LondonWeb on 08/20/08


Tagged

text br ASP


Versions (?)

Querbra de Linha - Break Lines


 / Published in: ASP
 

substitui em quebra de linha. Break the lines form data, replacing key

  1. <%
  2. myTxt = rsD("Dica")
  3. txt = replace(myTxt,CHR(13)&CHR(10), "<br>")
  4. %>
  5. <%=txt %>

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: Scooter on August 20, 2008

CHR(13)&CHR(10) can also be achieved with vbCrLf

You need to login to post a comment.