# Converting strings

**URL:** <https://forum.kirupa.com/t/converting-strings/280384>\
**Category:** flash\
**Created:** [January 27, 2009, 2:36am UTC](https://forum.kirupa.com/t/converting-strings/280384 "2009-01-27T02:36:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cosmicloverocks](https://avatars.discourse-cdn.com/v4/letter/c/dfb087/32.png) [@cosmicloverocks](https://forum.kirupa.com/u/cosmicloverocks)\
**Post date:** [January 27, 2009, 2:36am UTC](https://forum.kirupa.com/t/converting-strings/280384/1 "2009-01-27T02:36:10Z")

</div>

I have this array :  
that is from xml:

[“images/bob’s.jpg”,  
“images/bob&john.jpg”,  
“images/bobpic’s.jpg”,  
];

how do i go tru for loop searching for **’** and **&** and convert them to **’** and **&**?

thanks in advanced.
