PDA

View Full Version : Adding punctuation when displaying variables


nicolegoogh
08-06-2003, 10:01 PM
I was wondering how to add punctuation when displaying variables in a dynamic text box. For example first I get the user to input their first name and then their surname in separate input text boxes, but then I want to display together in the same dynamic text box. How do I get them to display with a space between them? Or a comma at the end? The script below is what I'm using which displays the names together without spaces.

namedisplayVAR = firstVAR+lastVAR;

Thanks!

smoke10010
08-06-2003, 10:47 PM
use

namedisplayVAR = firstVAR+" "+lastVAR;