Page 1 of 1

IsNum command for string commands.

Posted: Sun Mar 03, 2024 5:53 pm
by Bugala
There is
IsAlpha()
IsAlNum()

commands to check if string pos[n] is Alpha or AlphaNumeric character, but there is no option to just check if it is Simply Numeric.

You can get this done by first checking IsAlNum and if true, then checking if IsAlpha is false, but would be better to have simply IsNum()

Re: IsNum command for string commands.

Posted: Tue Mar 05, 2024 10:43 pm
by airsoftsoftwair
Bugala wrote: Sun Mar 03, 2024 5:53 pm You can get this done by first checking IsAlNum and if true, then checking if IsAlpha is false, but would be better to have simply IsNum()
Hmm, are you looking for IsDigit() maybe?

Re: IsNum command for string commands.

Posted: Wed Mar 06, 2024 9:12 am
by Bugala
Ah, thanks. Didnt realise there was one. Got thrown off by IsAlNum and was looking for IsNum.