KieronWiltshire Posted January 18, 2014 Share Posted January 18, 2014 Does anyone have a function which I can use which checks for illegal characters for things like usernames and stuff please? Link to comment
KieronWiltshire Posted January 18, 2014 Author Share Posted January 18, 2014 string.find I know that, I just don't want to type each individual character out... Link to comment
Wei Posted January 18, 2014 Share Posted January 18, 2014 if(string.match("%W")) then --Improper characters detected. end Link to comment
KieronWiltshire Posted January 19, 2014 Author Share Posted January 19, 2014 I want to keep the @ and . symbols though for the email, is this possible? Link to comment
TAPL Posted January 19, 2014 Share Posted January 19, 2014 https://forum.multitheftauto.com/viewtopic.php?f=91&t=37491 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now