I'm just trying to return the Letter of an ASCII code.
Something like :
String MyString = ASC(65);
Can't find nothing on the Helpfiles.
help!!
Erm you could do this:
String MyString = String.Format("%c", 65);
or:
String MyString = "";
MyString = MyString.AppendChar(65);
Wyz! you're a King.
(BTW I just do that cuz of your Joystick Pluging, so tx :D )
Lol! thanks, and you're welcome! ;D
Just for completeness sake if you ever needed the reverse operation (ord) then it's also pretty simple in AGS:
int ord = 'A'; // convert character-literal to ASCII value
char c = 'A';
ord = c; // convert char to ASCII value
String s = "A";
ord = s.Chars[0]; // convert specific character in a String to ASCII value
Tx Monkey, it can be also useful if I want the keyboard to stay active instead of the joystick.