Re: Javaxcript question for Dreamweaver

by =?iso-8859-1?Q?St=E9phane?= Bergeron <stephberg(at)videotron.ca>

 Date:  Tue, 25 Jul 2000 17:58:30 -0400
 To:  hwg-techniques(at)hwg.org
 Cc:  Reywob(at)aol.com
 In-Reply-To:  aol
  todo: View Thread, Original
At 01:05 PM 25/07/00 -0400, you wrote:
>Hi,
>
>Can anyone help me with the following javascript? (Full code at the end of
>this email)
>
>       exportData=3DexportData.substring(0,exportData.length-1)+lineBreak;
>
>I'm trying to write something in front of the string but cannot.  I can=
 write
>after the string:
>       exportData=3DexportData.substring(0,exportData.length-1)+"HELLO
>WORLD"+lineBreak;
>
>How can I write in front????


Try this:

exportData =3D exportData.substring(0,exportData.length-1) + lineBreak;
exportData =3D "Hello world " + exportData;

HTH!

St=E9phane Bergeron

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA