w0uter Posted August 21, 2005 Share Posted August 21, 2005 i couldnt find one so i made one. Func _IsHex($v_C) If StringLeft($v_C, 2) & '' = '0x' Then $v_C = StringTrimLeft($v_C, 2) StringRegExp($v_C, '\x{' & StringLen($v_C) & '}') Return @extended EndFunc;==> _IsHex() My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll Link to comment Share on other sites More sharing options...
w0uter Posted August 22, 2005 Author Share Posted August 22, 2005 ugh i hate myself for not seeing StringIsXDigit. why the didnt you guy's name it StringIsHex... My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll Link to comment Share on other sites More sharing options...
Lazycat Posted August 23, 2005 Share Posted August 23, 2005 Functions are have different behaviour - StringIsXDigit not pay attention if "0x" in the string, and return 0 in this case. I think that was your reason... Koda homepage ([s]Outdated Koda homepage[/s]) (Bug Tracker)My Autoit script page ([s]Outdated mirror[/s]) 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