Discuss Scratch
- Discussion Forums
- » Requests
- » Check the last letter of something.
- nijona
-
Scratcher
27 posts
Check the last letter of something.
I need a thing where a block can check the last letter of a word.
- Falconmist
-
Scratcher
100+ posts
Check the last letter of something.
If you want it to say the last letter of the word, use this:
I hope this was helpful to you!
say (letter (length of [*enter word here*]) of [*enter same word here*]) for (2) secsOr this:
say (letter (length of [*enter word here*]) of [*enter word here*])If you want to just know it, use this, then click on it:
(letter (length of [world]) of [world])If you want to ask someone what it is, use this slightly longer one:
ask [what is the last letter of world?] and wait
if <(answer) = (letter (length of [world]) of [world])> then
Add what you want the reward to be here
end
I hope this was helpful to you!
- davidvaz1
-
Scratcher
100+ posts
Check the last letter of something.
If you want it to say the last letter of the word, use this:say (letter (length of [*enter word here*]) of [*enter same word here*]) for (2) secsOr this:say (letter (length of [*enter word here*]) of [*enter word here*])If you want to just know it, use this, then click on it:(letter (length of [world]) of [world])If you want to ask someone what it is, use this slightly longer one:ask [what is the last letter of world?] and wait
if <(answer) = (letter (length of [world]) of [world])> then
Add what you want the reward to be here
end
I hope this was helpful to you!
Thanks so much! I was searching everywhere for that!
- Discussion Forums
- » Requests
-
» Check the last letter of something.