in reply to Search & Replace in an Array

What have you tried?

The simplest approach, you could use a for loop, test each element in turn and change it if it matches your criteria.

Just a something something...