How do you copy string with JavaScript?

Discussion in 'OT Technology' started by surgictube, May 24, 2003.

  1. surgictube

    surgictube Guest

    Tell me or die. :mad:
     
  2. Astro

    Astro Code Monkey

    Joined:
    Mar 18, 2000
    Messages:
    2,047
    Likes Received:
    0
    Location:
    Cleveland Ohio
    Clientside JavaScript:

    strString1 = strString2;

    It should be that simple.
     
  3. TerryMathews

    TerryMathews Guest

    Or new string str2(str1) should work, not sure of the exact js syntax tho.
     

Share This Page