<!DOCTYPE html>
<html>
<body>

<%

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

%>
 

</body>
</html>