autosc Posted February 6, 2007 Share Posted February 6, 2007 I am trying to check if the user is not using characters like > < | " ? : * + \ / which function should i use ? the following code works only for 0123456789abcdefABCDEF CODE$clear = InputBox("your name ", "name please", "", "", _ -1, -1, 0, 0) $checkk = StringIsXDigit($clear) If $checkk = 0 Then MsgBox(4096,"bad name ", $checkk) Else MsgBox(4096,"good name ", $checkk) endif Link to comment Share on other sites More sharing options...
/dev/null Posted February 6, 2007 Share Posted February 6, 2007 I am trying to check if the user is not using characters like > < | " ? : * + \ /what is the character set you want to allow? __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf * Link to comment Share on other sites More sharing options...
autosc Posted February 6, 2007 Author Share Posted February 6, 2007 what is the character set you want to allow?All except > < | " ? : * + \ / Link to comment Share on other sites More sharing options...
/dev/null Posted February 6, 2007 Share Posted February 6, 2007 All except > < | " ? : * + \ /All? ==> Ascii Table - your exceptions. Are you sure? Is it a good idea to have these in a name? ()=#%& .... __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf * Link to comment Share on other sites More sharing options...
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