Why don't you post the actual definition of str_replace and them we will come up with a short replacement? Best Regards, Dov Levenglick The information contained in this email is classified as: [ ] General Business Information [ ] Freescale Internal Use Only [ ] Freescale Confidential Propriety [x] Personal Memorandum