Forum Academy Marketplace Showcase Pricing Features

How to check if an input has space or not?

Hi,
Can anyone teach me how to check if an input has space or not?
I tried the following way but failed…, and I don’t know any other ways…
Please help me. Thank you!
Screen Shot 0003-12-12 at 15.31.39
(the " " is supposed to be the space but I don’t think bubble io is interpreting the same way as I do)

Use regular expression to check the input have space or not ( space occurrenceand no of spaces) / check condition input.value.contains(’ ') for just check space is present in the input.

Thank you!

This topic was automatically closed after 70 days. New replies are no longer allowed.