# Replacing characters

**URL:** <https://forum.kirupa.com/t/replacing-characters/126898>\
**Category:** Uncategorized\
**Created:** [October 28, 2004, 7:28am UTC](https://forum.kirupa.com/t/replacing-characters/126898 "2004-10-28T07:28:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Frg10](https://avatars.discourse-cdn.com/v4/letter/f/439d5e/32.png) [@Frg10](https://forum.kirupa.com/u/Frg10)\
**Post date:** [October 28, 2004, 7:28am UTC](https://forum.kirupa.com/t/replacing-characters/126898/1 "2004-10-28T07:28:01Z")

</div>

hi. got this lil problem which i hope some had bumped into this. i just want to change characters like, \ to // in actionsripting. like this for example:

destination = “C:\Macromedia\Flash”;

to

destination = “C://Macromedia//Flash”;

hope it wud be as easy as this:

while("" is still there){  
replaceItWith("//");  
}

Funny huh?
