Trying to find out if the last character in a string is a space character, but I'm not sure why what I have isn't working.
I have this string manipulation code, but I can't get it to work. Can someone tell me why?
print (text:sub(text:len() - 1) == (" "))

2 comments
Still returns false ;/
Can I see the whole script?