How to use Substring replace charindex functions in SQL Server

join shbcf.ru