I am trying to create an app in MIT App Inventor that allows me to type a sentence or a word into the text box and when I click the submit button, the result will show a mocked version of that.
For example, if I type in "hello there sir," it will take each separate letter and randomize it to have capital lettering or lowercase lettering. So it could have a result like "hElLo tHErE sIr."
I assume the blocks would be made so that it would take each separate letter have a probability of 50% and capitalize the letter 50% of the time. But I do not know how to do that.
I am attaching the blocks as image. The function splits the original text into individual letters, and randomly upcases or downcases them.