# Replace Replaces all substring matches. ``` uint  Replace(    const string  substring,     // substring    const string  newstring      // substring    ) ``` Parameters substring [in]  Sample substring to search for. newstring [in]  Sample substring to replace with. Return Value Number of substring replacements.