Say I have this string which contains >4000 characters, and I want every occurance of the character "I" to be replaced with the character "E", how could I do that ?

I have searched, and searched again, but couldn't find anything I could use/quite understand.

I've tried stuff like:
Code:
string.replace(string.find("I"), 1, "E");