Oracle PL/SQL Character / String Functions :ASCII Function

In Oracle/PLSQL, the ascii function returns the NUMBER code that represents the specified character.
Syntax:
ascii( Character_name )
Character_name is the specified character to retrieve the NUMBER code for. If more than one character is entered, the function will return the value for the first character and ignore all of the characters after the first.

Example:

SELECT ASCII('t') FROM dual;  Output :116
SELECT ASCII('T') FROM dual; 
Output :84
SELECT ASCII('Thanks') FROM dual; Output :84