A feature I’d like to see in Hopscotch is:
Filtering Text
I’d use it for this type of project:
Filtering Numbers/Text
Here are some examples of Hopscotch code that could be improved if we had this:
SEPERATING NUMBERS FROM TEXT/ TEXT FROM NUMBERS.
I cant think of a way to do it without using beta editor
Here is an example design I’ve made:
blank.
I’ve seen something similar in another programming languages, it looks like this:
I forgot
6 Likes
Uh I don’t understand…
Can you tell me what you think the block will look like?
(Like “[set width (102039)]”)
1 Like
Basically a “match expression” text operator.
(Like length of string but instead is labeled “match”)
2 Likes
Nobody
5
filtering text is basically if “gaucho” is in var(randomWords) set text to are you a gaucho?
3 Likes
Isn’t that what match does?
3 Likes
Yeah but we want “match” not “if matches”
2 Likes
No, this would actually get the text match.
The block I made would set variable to 123
1 Like
Oh I see
Just gets the part that matches
2 Likes
Yeah
[Match (Text) with (text)]
1 Like
waffle
15
JavaScript
oops didn’t mean to reply to you
3 Likes
Oops I meant
[match (text) with (text) in (input)]
3 Likes
I mean removing some text
(e.g. you wanna output “hello” only in “hello world”)
1 Like
ohhhhh
i get it
cool idea!