From the system expressions manual page.
https://www.scirra.com/manual/126/system-expressions
[quote:1z6mmifb]right(text, count)
Return the last count characters of text.
Use that with a system compare condition with right(EditBox.Text, 1) = " "
Thank you very much! It works <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile" />