is_str_num

Syntax

stock bool:is_str_num(const sString[])

Usage

sString
Character to test.

Description

Returns whether a given string contains only digits.
This returns false for zero-length strings.

Return

True if string contains only digit, otherwise false.