# vcpkg_replace_string Replace a string in a file. ```cmake vcpkg_replace_string(filename match_string replace_string) ``` ## Source [scripts/cmake/vcpkg_replace_string.cmake](https://github.com/Microsoft/vcpkg/blob/master/scripts/cmake/vcpkg_replace_string.cmake)