Jump to content

Hexadecimals problem


autosc
 Share

Recommended Posts

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

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...