text vbscript help

P

Paul C

Hi
I am trying to create a space between two statements

subject = Request.Form("sNameField") & Request.Form("subject")

the result is something like

john smithhello from john

How do I get a space so it reads

john smith hello from john


Thankyou
Paul M
 
J

Jon Spivey

Hi,
add it in
subject = Request.Form("sNameField") & " " & Request.Form("subject")

Cheers,
Jon
 
P

Paul C

Thanks Jon
I thought there might be some kind of <BR> type thing or something.
best wishes
Paul M
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top