VBDotNetProgrammer
Programmer
Hi,
I want to be able to test if a string is numeric. Kind of like the isNumeric() function in VB6.
Has anyone got any ideas how to go about this? Ive tried using isdigit() and isalnum() but both require an int as a parameter and i want to test a string.
Thanks alot
PS It has to be portable as well.
I want to be able to test if a string is numeric. Kind of like the isNumeric() function in VB6.
Has anyone got any ideas how to go about this? Ive tried using isdigit() and isalnum() but both require an int as a parameter and i want to test a string.
Thanks alot
PS It has to be portable as well.