How to Get ASCII code of a text?


Suppose I Enter a sentence in a text box …
I want to Get ASCII value of this words and also want to change the ASCII code …

Is there any extension ?


please first decide, which distribution you like to use and then only ask in the corresponding community…
thank you
the extension directory is here


I like to use in Thunkable

Sir Please Give Extension


you might want to search for an extension yourself in the extension directory…
alternatively create your own procedure to get the ascii codes…
see also this example app in the App Inventor Gallery by @Italo


Sir I Get This Blocks but how to show ASCII value in a label

I want to type a Charecter in a textbox and I want to show its ASCII value in a lebel

How to coding for that ?



use a for each from to loop to read each letter of the word and call your procedure for each letter


Check out the Thunkable YouTube channel, there are lots of great videos for getting started:

A very good way to learn App Inventor is to read the free Inventor’s Manual here in the AI2 free online eBook … the links are at the bottom of the Web page. The book ‘teaches’ users how to program with AI2 blocks.
There is a free programming course here and the aia files for the projects in the book are here:
How to do a lot of basic things with App Inventor are described here: .

Also do the tutorials to learn the basics of App Inventor, then try something and follow the Top 5 Tips: How to learn App Inventor


I’m trying to use the estension from Italo but I have some doubt about it.
I expect to have 256 characters in the main text where to extract the one I need, but only 255 seems to be in there. Why?


More specific, I need to send a byte with value 0 via UDP so a NULL char but this code seems to convert only characters starting from value 1.


It seems that thunkable do not consider 0 byte so if I try to send something like this in HEX: 4F 00 00 23 (<00>) the extension will send only <> (4F 23)