Microsoft Interview Question

find and replace all occurences of a character buffer.