I guess you mean you have an array of characters and want to replace any single quotes " ' " in that array? If you're using C++, it would be much easier to put your data in a C++ string, then you can use its many easy and powerful search and replace functions. In C, iterate through the array until the terminating null, testing for single quotes at each step.
Comment