Free source code programming in C#, VB.Net, Java, SQL
SELECT REPLACE('sample','ple','');
GO
Result:sam