I want the user to enter a string using a textbox. It will be stored as a global variable.
However, I want to ensure that they can only enter a max of 8 characters in the text box.
How would I go about doing this?
Any help would be appreciated : P
Here's one way to do it
Develop games in your browser. Powerful, performant & highly capable.
NP, you can always use len() to get the length of the string, but seems unnecessary in your case.