[FREE] StringFunctions Extension

can you please me how to extract world or characters from any string.
Example:

String is " Hello! My Friend How Are You?"
So if i want index 4 to 8 characters only how can i do it?

Guide:

Beginnerā€™s guide: Text blocks - Guides - Kodular Community

i tried but with some texts only. with some links it shows index error
if any other solution available can you please share

It would really help if you provided a screenshot of your relevant blocks, so we can see what you are trying to do, and where the problem may be. Also pleae asd the exact error message.

To get an image of your blocks, right click in the Blocks Editor and select ā€œDownload Blocks as Imageā€. You might want to use an image editor to crop etc. if required. Then post it here in the community.

Taifun

1 Like

Thank you but my problem is resolved now. I directly put textbox text into segment text thats why itā€™s creating problem. I store textbox value into variable and then tried itā€™s worked.

fantastics! :+1::sparkles:

can I get sum result in strings data

Example

10,20,10,30,20
Total = 90

What about writing your own custom procedure to sum up the items of a list?

A very good way to learn App Inventor or Kodular is to read the free Inventorā€™s Manual here in the AI2 free online eBook http://www.appinventor.org/book2 ā€¦ 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 Course In A Box and the aia files for the projects in the book are here: App Inventor 2 Book: Create Your Own Android Apps

How to do a lot of basic things with App Inventor are described here: http://www.appinventor.org/content/howDoYou/eventHandling .

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

Taifun