Edit The Code:
See Result »
Try it Yourself - ©
w3big.com
<!DOCTYPE html> <html> <body> <script type="text/vbscript"> txt="This is a beautiful day!" document.write(InStrRev(txt,"T",-1,1) & "<br>") document.write(InStrRev(txt,"T",-1,0) & "<br>") </script> </body> </html>