TrimNumbers

From SCAR Divi Manual
Jump to: navigation, search

Definition

function TrimNumbers(const Str: AnsiString): AnsiString;

Availability

SCAR Divi 3.00 > Current

Description

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

Example

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

Output:

Hello World!

See Also