I am getting : Start (1) + length (1) - 1 exceeds text length (0). I dont understand what i am doing wrong

i have uploaded the part where i think the error is occurring and the function I used there

The error message is trying to tell you, that you can't use the segment block for empty strings

use Do it to debug your blocks, see also tip 4 here App Inventor: How to Learn | Pura Vida Apps
see also Live Development, Testing, and Debugging Tools

Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by icon24 Taifun.

i see, but i am not able to use Do It

could you suggest a fix to the problem, for example what I should change

Connect the companion app and you will be able to Do it. . See again the links...

We do not know your data...
Show us a Do it result of your Lists...


would it be possible if i linked my abb file?

(post deletes)...

Export your .aia file and upload it here.

1 Like

Test_1_Puzzle.aia (373.5 KB)

Please only take a look at screen3 , I don't mind taking a look at other screens but they arent complete.

Sorry when I posted the question it was 2 am or 3 am i was staying awake late to finish it. I felt sleepy and slept.

Ik i am posting it again but i am in a state of urgency, and I apologize in advance.

Test_1_Puzzle.aia (373.5 KB)

I have uploaded the aia file please look into it , please only look into screen 3 the rest of the app isn't complete yet.

I have to get this completed in a few h hours at most.

Please do not post duplicate topics. This makes the topic unclean, even if you are in emergency. But I understand your situation, I am looking into the AIA. :slight_smile:

yes i understand and i am really sorry but need it finish this up within the next few hours.

Thank you so much for trying to help me btw

have you found out what is wrong with that block?

Your problem is in here:


You may want to look here at some Wordle code examples

i was able to fix that part with the help of another person, I am running into another error now ( fix was just to put callings into a if condition where list not equal to empty string )

and that error is ?

Select list item: Attempt to get item number 98 of a list of length 5: [com.google.appinventor.components.runtime.TextBox@a848037, com.google.appinventor.components.runtime.TextBox@a23c30d, com.google.appinventor.components.runtime.TextBox@816e8d3, com.google.appinventor.components.runtime.TextBox@8d68309, com.google.appinventor.components.runtime.TextBox@c5d3f2f]

have you looked into it ?

The answer is in your error message, first line

yes, i understand that but could you suggest a fix? because I cant come to understand what I did wrong there.