extra space turing up

g’day guys,

I have a script that sends an email to a user. I’m using a combination of written text and variables. But when i send the mail, i’m getting an unwanted space in the URL link.

my code includes the file link” & NAME & “/” & NAME & “.doc”
→ NAME is a string

my resulting email has an unwanted space at the concatenation point of the written text and the variables. blah05-21_37_17/blah05-21_37_17.doc

In Mail the link looks fine but when received (both Hotmail and Notes) the space has been added.

Hoping someone can shed some light.



Browser: Safari 312.3.1
Operating System: Mac OS X (10.3.9)