Discuss Scratch
- Discussion Forums
- » Suggestions
- » New string manipulation blocks/reporters!
- IndexErrorException
- Scratcher
500+ posts
New string manipulation blocks/reporters!
What this does is separate text or numbers by the separator.
EXAMPLE: “hello,hi,how you doing today” and the separator is the commas.
RESULT: A table containing this:
1. hello
2. hi
3. how you doing today
- IndexErrorException
- Scratcher
500+ posts
New string manipulation blocks/reporters!
This one is simpler. It will take in text and return the text but its all capitalized or lowercase. If a number were to be put inside, it wouldn't do anything to the number.
EXAMPLE: uppercase(hello, minecraft was released in 2009.)
RESULT: HELLO, MINECRAFT WAS RELEASED IN 2009.
- CST1229
- Scratcher
1000+ posts
New string manipulation blocks/reporters!
The split reporter would need to report a list, which (list outputs) is not something in Scratch. This block would better belong in Snap! (in fact it's already a thing there), or it could just be a list block:
set [list v] to split text [] by [] :: list
Last edited by CST1229 (April 3, 2021 18:38:36)
This is a signature. It's a piece of text that appears below every post I write. Click here to learn more, including how to make your own.
RIP assets image hosting. 2013?-2023
RIP assets image hosting. 2013?-2023
- cruncherBones
- Scratcher
500+ posts
New string manipulation blocks/reporters!
It is related Please don't make lists of suggestions; if you're throwing out multiple suggestions in a single thread then you probably didn't put that much thought into them, and it's better for discussion to give each idea its own thread.
- the2000
- Scratcher
1000+ posts
New string manipulation blocks/reporters!
Not the same, though. The “uppercase” and “lowercase” blocks might be related, but just being in the same category as the split block wouldn't make them “related”.It is related Please don't make lists of suggestions; if you're throwing out multiple suggestions in a single thread then you probably didn't put that much thought into them, and it's better for discussion to give each idea its own thread.
- cruncherBones
- Scratcher
500+ posts
New string manipulation blocks/reporters!
They are both in operators thus related thus I am right and this thread should stay!!!Not the same, though. The “uppercase” and “lowercase” blocks might be related, but just being in the same category as the split block wouldn't make them “related”.It is related Please don't make lists of suggestions; if you're throwing out multiple suggestions in a single thread then you probably didn't put that much thought into them, and it's better for discussion to give each idea its own thread.
- the2000
- Scratcher
1000+ posts
New string manipulation blocks/reporters!
Is that a fdreerf funny I see? Again, being in the same category does not make them related. The camera blocks and the "touching color []" blocks were in the sensing category back in 2.0, but that doesn't mean that you could've suggested stuff for them together.They are both in operators thus related thus I am right and this thread should stay!!! Not the same, though. The “uppercase” and “lowercase” blocks might be related, but just being in the same category as the split block wouldn't make them “related”.
- cruncherBones
- Scratcher
500+ posts
New string manipulation blocks/reporters!
They are related they are same category!Is that a fdreerf funny I see? Again, being in the same category does not make them related. The camera blocks and the "touching color []" blocks were in the sensing category back in 2.0, but that doesn't mean that you could've suggested stuff for them together.They are both in operators thus related thus I am right and this thread should stay!!! Not the same, though. The “uppercase” and “lowercase” blocks might be related, but just being in the same category as the split block wouldn't make them “related”.
All blocks in the same category are related as they are the same colour
I did not get that from fdreerf I got it from Prime99
- the2000
- Scratcher
1000+ posts
New string manipulation blocks/reporters!
I can't tell if you're being serious or sarcastic. Which are you?Is that a fdreerf funny I see? Again, being in the same category does not make them related. The camera blocks and the "touching color []" blocks were in the sensing category back in 2.0, but that doesn't mean that you could've suggested stuff for them together.They are related they are same category!
All blocks in the same category are related as they are the same colour
- dertermenter
- Scratcher
1000+ posts
New string manipulation blocks/reporters!
Serious probably, as I agree. If they are in the same category they are relatedI can't tell if you're being serious or sarcastic. Which are you?Is that a fdreerf funny I see? Again, being in the same category does not make them related. The camera blocks and the "touching color []" blocks were in the sensing category back in 2.0, but that doesn't mean that you could've suggested stuff for them together.They are related they are same category!
All blocks in the same category are related as they are the same colour
All suggestions are unnecessary. If a suggestion is necessary then it's a bug report.
repeated privilege, not an expectationApril Fools Day on the forums has been a
- the2000
- Scratcher
1000+ posts
New string manipulation blocks/reporters!
See my example in the earlier post. Would you seriously consider video sensing and the “touching color” boolean to be “related”? They were in the same category, you know….Serious probably, as I agree. If they are in the same category they are related I can't tell if you're being serious or sarcastic. Which are you?
- dertermenter
- Scratcher
1000+ posts
New string manipulation blocks/reporters!
True, what they do are different, so yeah, I now agree with youSee my example in the earlier post. Would you seriously consider video sensing and the “touching color” boolean to be “related”? They were in the same category, you know….Serious probably, as I agree. If they are in the same category they are related I can't tell if you're being serious or sarcastic. Which are you?
All suggestions are unnecessary. If a suggestion is necessary then it's a bug report.
repeated privilege, not an expectationApril Fools Day on the forums has been a
- IndexErrorException
- Scratcher
500+ posts
New string manipulation blocks/reporters!
I did put some thought into these blocks. I do like @CST1229's block idea. I think that makes more sense for 4.0.
I also put some work into making the blocks. I used scratchblocks.
The true block would look like
I also put some work into making the blocks. I used scratchblocks.
The true block would look like
Last edited by IndexErrorException (April 3, 2021 20:12:53)
- Harakou
- Scratcher
1000+ posts
New string manipulation blocks/reporters!
I believe the split block has been suggested here: https://scratch.mit.edu/discuss/topic/26936
And the uppercase/lowercase one here: https://scratch.mit.edu/discuss/topic/173757
Please use the existing threads here for discussion of these ideas.
In general, it is a good idea to separate different ideas that don't necessarily rely on one another into different threads, so that it's easier to organize things. However, let's not get too hung up on it, since as you can see here it's easy to spend more time arguing about it than actually discussing the idea. The forum rules are meant to let good discussion flourish - if enforcing them is getting in the way of that, then maybe it's a sign it's going too far.
And the uppercase/lowercase one here: https://scratch.mit.edu/discuss/topic/173757
Please use the existing threads here for discussion of these ideas.
In general, it is a good idea to separate different ideas that don't necessarily rely on one another into different threads, so that it's easier to organize things. However, let's not get too hung up on it, since as you can see here it's easy to spend more time arguing about it than actually discussing the idea. The forum rules are meant to let good discussion flourish - if enforcing them is getting in the way of that, then maybe it's a sign it's going too far.
- Discussion Forums
- » Suggestions
- » New string manipulation blocks/reporters!