Difference between revisions of "TrimNumbers"

From SCAR Divi Manual
Jump to: navigation, search
(Created page with "==Definition== <source lang="scar" lines="false"> function TrimNumbers(Text: AnsiString): AnsiString; </source> ==Availability== SCAR Divi 3.00 > Current ==Description== Remove...")
(No difference)

Revision as of 20:18, 1 July 2011

Definition

function TrimNumbers(Text: AnsiString): AnsiString;

Availability

SCAR Divi 3.00 > Current

Description

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

Example

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

Output:

Hello World!

See Also