Posted By

fuzzylogic on 03/08/07


Tagged


Versions (?)

CleanString


 / Published in: ASP
 

  1. function cleanString(myString)
  2. myString = replace(myString,"&","&")
  3. myString = replace(myString,"'","'")
  4. myString = replace(myString,"’","'")
  5. myString = replace(myString,"©","©")
  6. myString = replace(mystring,"""",""")
  7. myString = replace(mystring, vbCrlf, "<br>")
  8. cleanString = myString
  9. end function

Report this snippet  

You need to login to post a comment.