Sign in Join
FPDoc Onlineexperiment

IsNumeric function

In unit LazStringUtils

Indicates whether the characters in the specified value are numeric digits in the range '0'..'9'.

Declaration

pascal
function IsNumeric(const s: string): Boolean

Description

Examines each character in s (in reverse order).

Returns True if all of the characters in s are in the range '0'..'9'. Returns False if any character is not in the required range, or when s is an empty string ('').

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.