I am searching for an equivalent of the VisualBasic function Asc() to get the ASCII code of a letter.
I'm using Borland C++ Builder 5 and AnsiString data types. This is my code:
Code:AnsiString strText = txtInput->Text[2] //To get only the 2nd character of the Edit box
