Discuss Scratch
- k0d3rrr
-
Scratcher
1000+ posts
letters () to () of () block
+1Why? On the Suggestions forum, it is often required to give a reason why you support or don't support a suggestion.
Can you add or tell me how to add a "set letter 1 of (Variable name) to please it would be very useful to create a location to a sprite with only 1 variable.Try posting that in Help with Scripts next time, instead of an old topic on the Suggestions forum. Thanks!
Hehehe 5th page time! >:3
Last edited by k0d3rrr (May 30, 2022 00:25:03)
- spocite
-
Scratcher
500+ posts
letters () to () of () block
oopsies daisies, big bump.
anyways support this would reduce lag with scripts that use (join (letter (1) of (world)) (letter 2 of (world))), and also speed up making big scripts that use them
anyways support this would reduce lag with scripts that use (join (letter (1) of (world)) (letter 2 of (world))), and also speed up making big scripts that use them
- blablablahello
-
Scratcher
1000+ posts
letters () to () of () block
does haave many workarounds but still annoying to ahve to spend like 10 minutes just to make the workaround
- randomguy3513
-
Scratcher
1000+ posts
letters () to () of () block
Improved mockup
(letters () to () of [apple]:: operators)
BBcode
(letters () to () of :: operators)
- ilov3gam3z
-
Scratcher
42 posts
letters () to () of () block
(letters () to () of :: operators)pretty cool idea, but there are workarounds so semi-support.
- spocite
-
Scratcher
500+ posts
letters () to () of () block
i feel like almost all active forum users have that one topic they will forever bump, and for me its this one
BUMP
BUMP
- CatAndAlbertaTeam
-
Scratcher
40 posts
letters () to () of () block
Half support and half do not support. This block could be useful for some projects because they don't need few or a lot of
(letter () of [world])blocks. It could also be useful for some scripts like this example:
when green flag clickedBut I do not support because it can be replaced by using the following code
forever
if <[( letters (1) to (5) of (answer)] = [Happy]> then
switch costume to [Happy v]
else
switch costume to [Normal v]
end
set [report v] to []
set [count v] to (first letter)
repeat until <(count) = ((last letter) + (1))>
set [report v] to (join (report) (letter (count) of (text)))
change [count v] by (1)
end
- medians
-
Scratcher
1000+ posts
letters () to () of () block
I did something like this:
https://scratch.mit.edu/projects/829995860 (I put the min thing for it to be easier to see and so it wouldn’t matter which order it was entered in)
https://scratch.mit.edu/projects/829995860 (I put the min thing for it to be easier to see and so it wouldn’t matter which order it was entered in)
Improved mockupI mean all you really did was add the operators thing and changed world to the new default for the letter and join blocks though(letters () to () of [apple]:: operators)BBcode
(letters () to () of :: operators)
- MythosLore
-
Scratcher
1000+ posts
letters () to () of () block
If I was trying to find letters 3-5 of “apple”, would it report a string (“ple”), or as a list with individual letters?
- medians
-
Scratcher
1000+ posts
letters () to () of () block
If I was trying to find letters 3-5 of “apple”, would it report a string (“ple”), or as a list with individual letters?If you do it with a list, it already puts them together:

Anyway, a string hopefully.
- MythosLore
-
Scratcher
1000+ posts
letters () to () of () block
Yeah, never mind, for some reason I thought that it had spaces in between the characters, but I tested it in 3.0, and sure enough, there were no spaces.If I was trying to find letters 3-5 of “apple”, would it report a string (“ple”), or as a list with individual letters?If you do it with a list, it already puts them together:
can't post this
Anyway, a string hopefully.
- medians
-
Scratcher
1000+ posts
letters () to () of () block
It doesn't have spaces when the items have 1 character (as in all of them)Yeah, never mind, for some reason I thought that it had spaces in between the characters, but I tested it in 3.0, and sure enough, there were no spaces.If I was trying to find letters 3-5 of “apple”, would it report a string (“ple”), or as a list with individual letters?If you do it with a list, it already puts them together:
can't post this
Anyway, a string hopefully.








scratcher