Victoria Yudin explains Changing part of a string in SQL Server using REPLACE
Changing part of a string in SQL Server using REPLACE | Victoria Yudin
SQL & DataInstall, Upgrade & Admin
Archived post from 2013. Dynamics GP and the links it points to have changed since; check current documentation before relying on version-specific steps.