Ampersand in string causing problems in email button

_Bill_Bain_

29-07-2008

I have an application in which the email subject string is constructed out of some field values. Everythign works fine, except that if the string contains an ampersand, the string construction terminates and the emai, subject is truncated. I'd like to put a reoutine in place that changes the ampersand to an "and" in the string; however, the Javascript implementation in Designer 7 doesn't support the replace method. Any ideas on how I can do this in Javascript without the replace method? Thanks!