TrimLetters

From SCAR Divi Manual
Jump to: navigation, search

Definition

function TrimLetters(const Str: AnsiString): AnsiString;

Availability

SCAR Divi 3.00 > Current

Description

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

Example

begin
  WriteLn(TrimLetters('-Hello World!-'));
end.

Output:

- !-

See Also