<!DOCTYPE html>
<html>
<body>

<%

txt="This is a beautiful day!"
response.write(Replace(txt,"t","##",1,-1,1) & "<br>")
response.write(Replace(txt,"t","##",1,-1,0))

%>
 

</body>
</html>