GetNumbers

From SCAR Divi Manual
Revision as of 16:23, 17 September 2011 by Freddy (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Definition

function GetNumbers(const Str: AnsiString): AnsiString;

Availability

SCAR Divi 3.00 > Current

Description

Removes all characters that are not numbers from a string Str and returns it.

Example

begin
  WriteLn(GetNumbers('1Hello 2World!3'));
end.

Output:

123

See Also