Is there any way to ignore spaces with text coding blocks?

Hi, I was wondering if there is a way to ignore spaces with text coding blocks?

So for example, I may try to code an app for my math students with some questions where an answer may be something like “2x3”, but I’d like “2 x 3” or " 2 x 3 " to work as well regardless of spaces.

Is there a way to remove all spaces from the answer input?

Thank you!

I think the “trim” block is for that

bild

/Boban

5 Likes

Thanks Boban, that worked

1 Like

I wanted to do the same thing with fire base,
when i save to FB with spaces at the end of the word, i can’t find what i want if i look for no space. and vise versa.

/Boban

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.