The results of an sql query are returned to @$resultsetfinal. What i would like to do is remove any price formating from the 3rd value within the array for each record e.g s/\$//; and write that new format back into the value of the 3rd array element, so that when I use @$resultsetfinal again to sort by price there is no unneccesary formating there. Your help is appreciated... thanks Mat