0

I am trying to concatenate two strings with a & in between them and render it in HTML.

Say for example, I want to get: Richard & Mary. I tried "Richard" & Chr(38) & "Mary" in the VBScript. It prints Richard & Mary when I do the MsgBox, but while rendering in HTML it always prints RichardMary.

Is there anything I am missing? I searched online and other places but none of them helped me. Referred this- http://eyeontesting.com/questions/10262/how-to-concatenate-two-strings-with-the-newline-ch.html

Ansgar Wiechers
  • 193,178
  • 25
  • 254
  • 328
WonderHeart
  • 678
  • 10
  • 28

0 Answers0