1 Reply Latest reply on Feb 9, 2007 2:06 PM by michael_ramirez44

    String.replace not working

    upshotvideo Level 1
      Anyone having trouble with String.replace()?

      var s:String='hello world';
      s.replace('hello','bye');
      trace(s);
      /// traces 'hellow world'