T
TGF
Hello,
I have a String input from a TextBox class. What I want to do it to
tell what type of number it is.. sometimes the user can enter a number like
'0xA5A2' or 'A5A2' (both considered hexadecimal), or they can enter '431345'
which is just an integer. These values are just examples, but i need to
know if one is hexadecimal and the other is integer. What methods of the
String class can do this?
-TGF
I have a String input from a TextBox class. What I want to do it to
tell what type of number it is.. sometimes the user can enter a number like
'0xA5A2' or 'A5A2' (both considered hexadecimal), or they can enter '431345'
which is just an integer. These values are just examples, but i need to
know if one is hexadecimal and the other is integer. What methods of the
String class can do this?
-TGF