Hi there! So I want to make sure text in a textbox actually has words or sentences, and make sure its not empty and doesn’t just have spaces.
I have tried doing:
if TextBox.Text == "" or TextBox.Text == " " then
print("Empty")
else
print("Not empty")
end
If you leave the text box blank or just put one space in it, it will return “Empty”, however if I put two spaces it will return “Not Empty”, is there a way to make it so it will return “Empty” if the textbox is just full of spaces?