I second that
I third that.
Here are more examples of things we could do more easily with this:
Faster version of my saving art pad
Messages with parameters, though not with the broadcast block.
Escaping regular expressions so that you don’t get problems like in my Caesar cipher project when you put a ? or a ( etc
Shape art editors/treating shape art as a single object
And much more, I look forward to seeing this added to the app.
Yes, why hasn’t this been added yet? We’ve been waiting more than three months.
- I would use this
Interesting idea. Can you do this now with the characters between block?
yes, but not efficiently
nice tag #still-waiting
Bruh I won’t continue EGCode until this is implemented
I sold 13 stuffed animals actually, that last one was made of plastic
Yes, @Petrichor, I do like the edit bumps. This really does need to exist .
Uh #replaceblock2020 ?
Why is that a tag lol
But this is easily a no-brainer (you don’t even need a brain to know that this is a great idea to add this (yes I know that is not biologically possible but well it’s just something peeps say lol))
Not that tag ig lol
I need this for like 3 projects lol
You cannot make yourself feel something you do not feel, but you can make yourself do right in spite of your feelings. — Pearl Buck
- If you’re using the same replace as JS, this will only take a couple lines of code to implement. Also, I would definitely use this in my projects. It would be really useful in scenarios such as the one given in the first post of adding leading zeroes to all "14"s in a sentence like “I sold 14 stuffed animals”. It would also expand the capabilities of string interpreters and much more if we also had a “match” block (returns matching string) in addition to the matches (returns boolean).
stringsmth.replace('a', 'b') //I think
I’ve used the match function on Microsoft Excel and found it to be very useful. It would be great if they added something like that to Hopscotch.
Definitely sire @tht
There could be an issue with this. Replacing
2014 will result in
20014. A solution could be adding spaces surrounding both Slots
v Solution v
Replace ( 14 ) with ( 014 ) in (2014)
will return 2014 instead of 20014.