Instead of a loop you can just use following function

function replace_all(source:String, to_find:String, replace_with:String):String
{
    return source.split( to_find ).join( replace_with );
}
Tags
Comments
Write the first comment
Leave a trace
Name *
Email *
Website
Anti SPAM * Code (2 + 1) =
Leave me a comment *
 
All comments are subject to editorial review
Post being viewed right now
Item date: 14.05.2009
Views: 866
Item date: 21.07.2009
Views: 1278
Item date: 01.01.2009
Views: 1822
Item date: 08.03.2009
Views: 415
Item date: 03.01.2009
Views: 748
Item date: 20.07.2009
Views: 1830
Item date: 27.09.2009
Views: 630
Item date: 07.03.2009
Views: 468
Item date: 10.04.2009
Views: 1292
Item date: 22.08.2009
Views: 1182