IsNum command for string commands.

Feature requests for future versions can be voiced here
Post Reply
Bugala
Posts: 1178
Joined: Sun Feb 14, 2010 7:11 pm

IsNum command for string commands.

Post 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()
User avatar
airsoftsoftwair
Posts: 5441
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: IsNum command for string commands.

Post 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?
Bugala
Posts: 1178
Joined: Sun Feb 14, 2010 7:11 pm

Re: IsNum command for string commands.

Post by Bugala »

Ah, thanks. Didnt realise there was one. Got thrown off by IsAlNum and was looking for IsNum.
Post Reply