Allow empty strings in more places

A feature I’d like to see in Hopscotch is:

Empty strings in variables other than self text.

I’d use it for this type of project:

Pretty much every project, especially if a single 0 would make sense as a value existing.

Here are some examples of Hopscotch code that could be improved if we had this:

If you are reading a string character by character and removing the first character after you read it, it makes more sense to stop at length(string) = 0 than string = 0, especially if 0 would make sense as the last character.

I would like it even more if you restrict variables to only be a single type, instead of being either a number or a string depending on their value.

13 Likes

yes

also we need replace something with something

5 Likes

Yes we do, that can’t really be that hard
samantha frantically slams keyboard attempting to keep up with petrichors requests

3 Likes

Yes please

1 Like

I agree. This would be very useful.

2 Likes