anything that requires user input—so I can trim any white space
Here are some examples of Hopscotch code that could be improved if we had this:
it could be possible to remove white space from user input
setting a variable that will be read by an object, you can keep the variables easy to read and trim white space just before its read by the clone/object
Here is an example design I’ve made:
trim(Var)
I’ve seen something similar in another programming languages, it looks like this:
I know javaScript has it, I think python may have it as well
Or you can create another string, iterate over the first string and copy all characters to the second string that aren’t whitespaces.
(Python does have it)